This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 193302 - Commandline option --open works different then IDE action
Summary: Commandline option --open works different then IDE action
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2010-12-12 18:31 UTC by wvdbos
Modified: 2011-09-01 15:55 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description wvdbos 2010-12-12 18:31:20 UTC
When selecting a file that is part of a project and already open in the editor the window is selected containing the file.
If you do the same with --open you open a second file if you left this file open the last time you left NetBeans.

No project en files open in the IDE:
".....\NetBeans 7.0 Beta\bin\netbeans.exe" --open ....\NetBeans\RubyProject2\Sources\newmain.rb
Will open the file as expected.

Close NetBeans with the file still open in the IDE
Run the previous again
The file is loaded again.
You have now 2 file open.