Recent Posts

Pages: 1 ... 8 9 [10]
91
SlickEdit® / New Video
« Last post by Dan on February 13, 2023, 09:07:04 pm »
Here is a new SlickEdit video about how to compare files that have been reformatted.  If you like it, please share it with your friends.  https://youtu.be/bxVVeiQ8cF0
92
SlickEdit® / Re: Disassembly listing disappears
« Last post by rjpontefract on February 13, 2023, 08:28:18 pm »
I disabled live diff and it works fine now, thanks for the quick reply, it's appreciated.
It would be nice if live diff could be suspended automatically whilst debugging.
93
SlickEdit® / Re: Disassembly listing disappears
« Last post by Dennis on February 13, 2023, 08:13:28 pm »
Definitely, Live Diff should be disabled (it should disabled itself) in debug mode.  Live Diff and debugger assembly both reset and insert imaginary lines, there is no realistic way for both of them to get along at the same time.  I'll have the Diff guy put in a fix for this.  Thanks for pointing this out.
94
SlickEdit® / Re: Disassembly listing disappears
« Last post by rjpontefract on February 13, 2023, 07:12:18 pm »
I do indeed have live diff enabled, would that be the cause of this?
95
SlickEdit® / Re: Disassembly listing disappears
« Last post by Dennis on February 13, 2023, 01:13:17 pm »
Do you have Version Control > Live Diff enabled?
96
SlickEdit® / Disassembly listing disappears
« Last post by rjpontefract on February 12, 2023, 08:52:49 am »
Hi, using SE 27.0.1 (with HF 2) on macOS 13.2 with m1 CPU.

I am debugging a C/C++ project and am stepping through the code.  I selected the Debug>Show Disassembly menu item and the disassembled code appeared in the editor window as expected.  However, about 2 seconds later the disassembly listing was removed leaving me with just the C++ code.  The Show Disassembly menu item still has a checkmark.

Selecting the menu item another two times (once to clear the checkmark and another to enable it again) shows the disassembled code once more and, again, after about 2 seconds it disappears again.

Is there something I'm doing or a configuration option that would cause this?

 
97
SlickEdit® / Re: AutoTagging For Java Didn't Work - How To Do It Manually?
« Last post by tinker123 on February 11, 2023, 01:06:50 pm »
That worked!  Thank you!

For the sake of anyone who may have a similar question and who may arrive here by a search engine:

On my system

Mint Linux 21.1
OpenJDK 19

That path was

/usr/lib/jvm/openjdk-19/lib/src.zip
98
Newer releases of SlickEdit have single-file project support which makes this even easier, you don't have to create a project manually for each file.
99
SlickEdit® / Re: AutoTagging For Java Didn't Work - How To Do It Manually?
« Last post by Dennis on February 10, 2023, 07:50:23 pm »
Recognize first that you are using a version of SlickEdit that was shipped 10 years before Java 18, so this might be good time to upgrade.

But you can manually create a Java tag file.  Tools > Tag Files > New..., then select Java as the language.  I don't recall if v16 had the guided dialog for creating a language specific tag file, if not, just create the empty tag file, then click on "Add Files" and add src.jar from your JDK installation directory.
100
I figured it out for myself.

I wanted a directory where I could dump standalone Java classes where I could use Slicked edit to compile and run each file individually.

This is how I set it up.

1.  Create a Slickedit workspace
2.  Create a project & directory in that workspace directory.  Use the “Other” project type ( New > Project > Other )
3.  Set up the Workspace Properties > Properties "Compile" and "Execute" tabs

 //Compile - put all of the class files in a “classes” directory at the same level as the files
 javac  -d classes -deprecation "%f"


//Execute - run *.class files from the “classes” directory at the same level as the file
Command Line:  java "%n"
Run from dir:  %(CLASSPATH)

Set the CLASSPATH for *.nix operating systems in the .bashrc file to be:
   export CLASSPATH=".:./classes"

Pages: 1 ... 8 9 [10]