Eclipse Console Command Goto line - inverse search - eclipse

Is there any way to make Eclipse jump to a specific line out of the console?
e.g.
/usr/bin/eclipse --file=/foo/bar --line=3456
Without opening a new instance of Eclipse if one is already open.
Specifically, I am using TeXlipse to create PDF files. In my PDF viewer, I can get the TeX line I have currently selected and execute console commands with it in order to navigate my TeX-Editor (Eclipse) to that line.
Related here.

Related

Is there a way to open launch eclipse from command line, like vscode?

I am wondering if there is a command similar to code ., but for eclipse.
I'm using a Windows 10 computer.
Yes, the command line lets you open files using the --launcher.openFile parameter, and I think it prompts you with the "open projects from file system" wizard when you give it a directory. I'm not sure it works as smoothly since Eclipse lets you use the same binary for more than one workspace.
https://wiki.eclipse.org/Eclipse/OpenFileFeature

Eclipse + PyDev: file reopens in debug mode

I use Eclipse (4.2.1) to develop Python (3.2) programs using PyDev (2.8.2). I start my program in debug mode and when I encounter the first breakpoint, a new tab is opened with a copy of the script containing the breakpoint.
Debugging then takes places in the new copy.
When I stop debugging, the tab with the copy remains.
Changes to the copy, must be saved to update the original tab.
How can I make Eclipse NOT open a separate copy of my program?
Status: I still have this problem!

Eclipse --launcher.openFile does not open the file

I have been trying to open a file from the command line in a running Eclipse session. Based on the documentation, I should be able to do
eclipse --launcher.openFile myfilename
However, when I do this, there is a long pause, and then Eclipse tries to launch a new session. It gives me an error message that the workspace is not available, and then wants me to choose a new workspace.
How do I open a file in the currently running Eclipse session, from the commandline?
As of Eclipse Helios (3.6) you don't need special command-line parameters to open files from the OS file explorer or command line (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=4922). I think you should be able to just do eclipse myfile.java (as long as you have associated .java files with Eclipse).

Is it possible to add external command line tools to Netbeans?

Is it possible to use external command line tools in Netbeans?
Thank you.
After searching and searching and searching, this feature is just missing in netbeans although it would absolutely straightforward to implement and has been ask by user for 2 more than years...
Regards,
Stéphane
There is a Terminal window in NetBeans 7:
Open the menu, Window -> Output -> Terminal
What about using an Ant target? Ant files are quite comfortable to run from Netbeans.
<exec executable="${executable-full-path}" ...
The best option I've found is to use jmarsault's plugin that he calls NetBeans Command Shortcuts. This give you an icon in the command line where you can add command and terminal scripts to run. The display shows in the output window.
Installation files are available here and he has kept it up to date with the newest versions of NetBeans.
NetBeans Command Shortcut plugin
Installation:
Download the .nbm file for your version of NetBeans
Open Tools / Plugins / Downloaded / Add Plugins...
Select the .nbm file and allow the installation of the plugin.
In since at least version 9.0, there are two decent options:
Just create a script file. (I think you need the C++ plugin for this. Otherwise you have to create it outside NetBeans or as a text file.) In my case I created a JLinkGDBServer.sh that just executes JLinkGDBServer as a prerequisite to start an embedded debug session. This automatically sends the executable's output to a NetBeans terminal.
Add a tool to Tools/Options/Miscellaneous/SendTo. SendTo is a pop-up menu item for certain project entities, for example files but not the project. In my case, I could add a SendTo running the executable and use it by right-clicking on for example the .elf file (although for the GDB server I don't need any file name as an argument).

Getting error on opening excel file from eclipse

I am getting following error on
Cannot create the in-place editor
This is probably because there is no
OLE editor registered against the type
of file you were trying to open.
Failed to create Ole Client. result =
-2147417851
I have MS office 2007,and the excel file is stored as "save as 2003 version".
I'm using 3.5 so things could be different. Window->Preferences->General->Editors->File Associations.
Add *.xls and add Associated Editor (from this window you can select external programs to open with)
I think you should be able to open the excel file inside and eclipse editor, but it looks like the OLE is not working on your system for some reason.
first check the system editor available or not.
if available right click on xls file and click on open with system editor.
if not available follow bellow steps.
eclipse-->help-->Install new software-->search for editor and download and restart the eclipse. After restart the eclipse right click on xls file and click on open with system editor.