|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Main Project no moreHello,
In the latest Dev build (yesterday) I see that the concept of main project has been removed. When I click the Run button from the main menu, what now is the algorithm that the IDE goes through to decide which Ruby or Rails application to run when I have many projects open? I suspect that it first looks at what source file is fronted in the editor. If no files are open, what does it run then. What if I have a Java class open in the editor because my Ruby project uses that class (or perhaps several of my Ruby projects use that class). What will the IDE run? Are there other scenarios that are covered but I haven't thought to ask about? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no moreIt's probably best to ask on the nbui or nbdev aliases about this.
The "Main Project" action was removed as part of the Compile On Save feature work that has just gone into 6.5. (Compile On Save is important for Java, but not relevant for Ruby since we never compiled anyway). I know they've done a bunch of case analysis for the different project types how things should work. For example, if you have open C++ projects, the Build actions will reappear in the toolbar etc. But the exact algorithm for how all the features map to the new world is not clear to me. I bet there's a ui spec. -- Tor On Jul 23, 2008, at 8:56 AM, Chris Kutler wrote: > Hello, > > In the latest Dev build (yesterday) I see that the concept of main > project has been removed. > > When I click the Run button from the main menu, what now is the > algorithm that the IDE goes through to decide which Ruby or Rails > application to run when I have many projects open? > > I suspect that it first looks at what source file is fronted in the > editor. If no files are open, what does it run then. > > What if I have a Java class open in the editor because my Ruby > project uses that class (or perhaps several of my Ruby projects use > that class). What will the IDE run? > > Are there other scenarios that are covered but I haven't thought to > ask about? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no moreChris Kutler wrote:
> Hello, > > In the latest Dev build (yesterday) I see that the concept of main > project has been removed. Yes, it has changed: http://wiki.netbeans.org/MainProjectConceptualChange > When I click the Run button from the main menu, what now is the > algorithm that the IDE goes through to decide which Ruby or Rails > application to run when I have many projects open? > > I suspect that it first looks at what source file is fronted in the > editor. If no files are open, what does it run then. > > What if I have a Java class open in the editor because my Ruby project > uses that class (or perhaps several of my Ruby projects use that class). > What will the IDE run? > > Are there other scenarios that are covered but I haven't thought to ask > about? I suspect you will find all answers in the mentioned document above. If not probably best to ask on .... nb@dev? Might be someone has better suggestion for the right place. Not sure. m. PS: related one: http://wiki.netbeans.org/MainMenuFor65 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no more>
> I suspect you will find all answers in the mentioned document above. > If not probably best to ask on .... nb@dev? Might be someone has > better suggestion for the right place. Not sure. Alas, no. They do not say how the IDE decides what the "current" project is (in the case where no projects are set as main project). At least as far as I can tell from reading it through twice, but maybe I am not understanding something. That is why I thought perhaps this was bundle-specific (as in Rails/Ruby specific). I will send this email to nb@dev but I am not subscribed so if you happen to notice answers from them, maybe you can ping me. Martin Krauskopf wrote: > Chris Kutler wrote: >> Hello, >> >> In the latest Dev build (yesterday) I see that the concept of main >> project has been removed. > > Yes, it has changed: > http://wiki.netbeans.org/MainProjectConceptualChange > >> When I click the Run button from the main menu, what now is the >> algorithm that the IDE goes through to decide which Ruby or Rails >> application to run when I have many projects open? >> >> I suspect that it first looks at what source file is fronted in the >> editor. If no files are open, what does it run then. >> >> What if I have a Java class open in the editor because my Ruby >> project uses that class (or perhaps several of my Ruby projects use >> that class). What will the IDE run? >> >> Are there other scenarios that are covered but I haven't thought to >> ask about? > > I suspect you will find all answers in the mentioned document above. > If not probably best to ask on .... nb@dev? Might be someone has > better suggestion for the right place. Not sure. > > m. > > PS: related one: http://wiki.netbeans.org/MainMenuFor65 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no moreChris Kutler wrote:
>> >> I suspect you will find all answers in the mentioned document above. >> If not probably best to ask on .... nb@dev? Might be someone has >> better suggestion for the right place. Not sure. > Alas, no. They do not say how the IDE decides what the "current" project When you go to the Menu -> Run The menuitem there shows you which project will be used if main project is not set. This should help you. It depends on the current context, focused file in the editor, selected node in the focused Projects view, and so on. m. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no moreRight, but I would like to write up some useful information for our
users as to what the IDE will run so they can just press F6 and not have to go peek in the menu to figure it out. > > It depends on the current context, focused file in the editor, > selected node in the focused Projects view, and so on. Yes, that is what I am trying to figure out. Where does it look first, then second, and so forth. What if the focused file in the editor is not the selected node in the Projects view. And what does "and so on" include. For people who are coding in both Ruby and Java (for the classes used by Ruby), I would like to give them some nice advice so they aren't scratching their heads trying to figure out what will run when the press the Run button. I am probably wanting too much. Maybe I should stop telling people to use the Run button and F6 and just tell them to right-click on the project's node in the Projects window to run an application. They can then figure out the algorithims of the Run button on their own. Martin Krauskopf wrote: > Chris Kutler wrote: >>> >>> I suspect you will find all answers in the mentioned document above. >>> If not probably best to ask on .... nb@dev? Might be someone has >>> better suggestion for the right place. Not sure. >> Alas, no. They do not say how the IDE decides what the "current" project > > When you go to the Menu -> Run > > The menuitem there shows you which project will be used if main > project is not set. This should help you. > > It depends on the current context, focused file in the editor, > selected node in the focused Projects view, and so on. > > m. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Main Project no moreChris Kutler wrote:
> Right, but I would like to write up some useful information for our > users as to what the IDE will run so they can just press F6 and not have > to go peek in the menu to figure it out. It's a matter of getting to use to the context. Usually it's sensible or perceptible. [...] > What if the focused file in the editor is not > the selected node in the Projects view. Then the focus has precedence over selection (from what I've learned by using such actions). > And what does "and so on" include. I do not know whether exact algorithm is described somewhere. This is question for nb@users or nb@dev or nb@usability. I'm not sure what exact ML nb-usability has, but such things are discussed there, I think. [...] > I am probably wanting too much. Maybe I should stop telling people to > use the Run button and F6 and just tell them to right-click on the > project's node in the Projects window to run an application. Surely not, mouse and menus are evil ;) > They can then figure out the algorithims of the Run button on their own. This is new change (Main Project - Conceptual Change), so likely there will be more confusions. Thus having some wiki page describing cases, in which users are confused, might be helpful. Sure, just guess, time will show. m. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free Forum Powered by Nabble | Forum Help |