Recent Posts

Pages: 1 ... 8 9 [10]
91
SlickEdit® / Re: Multiple build targets from same code base
« Last post by Graeme on February 11, 2019, 10:47:19 am »
A way to do it without the macro is to have extra configurations - e.g. debug release debug-mac release-mac.  When you create a new configuration it lets you copy the settings from an existing configuration.  Then you can specify a different set of libs for each configuration.
92
SlickEdit® / Re: Multiple build targets from same code base
« Last post by Graeme on February 11, 2019, 10:32:03 am »
You could try an environment variable, not sure if this will work.  In project properties, compile/link tab -> click the right arrow at the right hand end of the "libraries/objects" edit box and you will see you can use, say, %(EXTRALIB).  It will then appear in the link order dialog box - click the elipsis to see it.

Any Slick C macro whose name starts with _workspace_opened_ gets called automatically when the workspace is opened.
So you can do this to set the environment variable when the workspace is opened.  Save the code in something.e and load it using the load module command on the macro menu.

Code: [Select]
#include "slick.sh"
void _workspace_opened_do_something()
{
   // say("abc " :+ _workspace_filename);
   if (_isMac())
      set_env("EXTRALIB", "mylib.lib");
   else
      set_env("EXTRALIB", "");

}

Also see this.
https://community.slickedit.com/index.php/topic,16714.msg64622.html#msg64622
93
SlickEdit® / Finding stl tags in C++ project
« Last post by guth on February 10, 2019, 02:56:24 pm »
On Linux, xubuntu 18.04 I believe, I tried to create a C++ project in Slickedit 23.0.0 latest hotfix, but when, e.g., creating a string variable a and trying to complete member methods on it, nothing is found. The compiler tags are created and ctrl-dot on the include file jumps to it. How do I enable completion of stl methods?
94
SlickEdit® / minor bug in mini find doing replace
« Last post by Graeme on February 10, 2019, 07:38:15 am »
Bring up mini find using Ctrl R and populate with say, abcdef in the top edit box and 123456 in the bottom edit box.  If you put the focus in the top edit box and hit ENTER, slick finds the first abcdef and prompts to replace with 123456.  Hit ENTER to do the replace and slick jumps to the next occurrence of abcdef without doing the replace.  The focus has to be in the bottom edit box when you first hit enter, for it to work.
95
SlickEdit® / Multiple build targets from same code base
« Last post by byadav on February 10, 2019, 03:31:20 am »
Hi,

I have a project that is built on Linux and MacOS. It needs one extra library when building on MacOS. Is there a way to conditionally link to a library in SlickEdit projects?

Thanks,
96
SlickEdit® / Re: How to transfer BigFind settings to new user?
« Last post by rowbearto on February 10, 2019, 02:03:41 am »
My personal opinion is that the SE clean config should have the BigFind defaults changed from what they are now to:

List all occurrences
List current context
<Auto Increment>

I think these settings are much more useful than what is there now in a clean config and without changing these defaults it could be a long time before a new user discovers (if at all, before they move on to trying another IDE) these great features.
97
SlickEdit® / Re: Changing keyboard emulation with macro?
« Last post by rowbearto on February 08, 2019, 09:48:26 pm »
Thanks Clark! That worked!
98
SlickEdit® / Re: Changing keyboard emulation with macro?
« Last post by Clark on February 08, 2019, 09:39:41 pm »
I guess this one is tricky. "emulate" is a batch macro. This should work:

execute("emulate vi");

The execute() function is used to execute things like you typed them on the SlickEdit command line. It's mostly useful for batch macros and recording macros where you just want to duplicate what the user did.
99
SlickEdit® / Re: Changing keyboard emulation with macro?
« Last post by rowbearto on February 08, 2019, 09:36:00 pm »
Getting some errors when I try to load the macros:

Code: [Select]
_command void keysvi() name_info(','VSARG2_READ_ONLY)
{
   emulate vi;
}

error: Identifier 'emulate' not declared

Then I tried:
Code: [Select]
_command void keysvi() name_info(','VSARG2_READ_ONLY)
{
   emulate("vi");
}

error: Expecting procedure name - identifier not found - import may be required

It is not clear what I need to import?
100
SlickEdit® / Re: Can the dark application theme de customized?
« Last post by Graeme on February 08, 2019, 09:31:24 pm »
Hi Iosif

The lack of any answers to your post suggest answers are no and no I guess.  I am not interested in theming myself so I have no idea what slick can do.  Maybe you could download the trial version of slick 2018 and see what it does.  If it's not what you want, you could post a message in the "feature requests" forum with your suggestions.
Pages: 1 ... 8 9 [10]