On Fri, Sep 6, 2013 at 10:44 AM, Darren Shepherd < darren.s.sheph...@gmail.com> wrote:
> IntelliJ.... The idea of paying for development tools makes me sad (but > I'm sure you got an open source project license). Spring support is not in > the open source version of IntellijIDEA. > You may get IntelliJ IDEA community edition and add the libs/jars yourself. Other ways -- Apache committers get free licenses, you companies can sponsor tools and lastly there is a hack to use Android Studio (based on IntelliJ) and mod with your libs (you get best of all worlds IMO :) Regards. > > Darren > > On Sep 5, 2013, at 9:42 PM, Prasanna Santhanam <t...@apache.org> wrote: > > > Odd that eclipse detects the .xml to understand the file is xml and > > not the XML header in the file. I can autocomplete the spring beans in > > IntelliJIdea without issue. > > > > On Thu, Sep 05, 2013 at 06:08:09PM -0700, Darren Shepherd wrote: > >> So if you have the Spring IDE (or STS) installed in your Eclipse you > >> get really nice autocompletion in spring config files. So > >> ctrl+space in the class="" will pop up all the classes. Or name="" > >> on the <property /> will autocomplete bean properties. Really > >> really useful, as typing class names by hand is slow and painful. > >> > >> But... none of this was working with ACS for me. So this is what I > >> found. First you really should be editing > >> applicationContext.xml.in. But that isn't an xml file, so it doesn't > >> like that. If you look for applicationContext.xml, its in the > >> cloudstack project which is not a java project and has no classpath > >> and thus autocompletion can't find your classes. So what I did was > >> in client/ > >> > >> ln -s tomcatconf/applicationContext.xml.in applicationContext.xml > >> > >> Now in cloud-client-ui you have applicationContext.xml at the root > >> and when you open it you get autocompletion magic. Now if your on > >> one of those operation systems that doesn't understand symlinks, I > >> dunno. But don't fret, once I modularize spring (coming real > >> soon....) the spring XML files will all be in the right place so you > >> get this behaviour by default. > >> > >> Darren > > > > -- > > Prasanna., > > > > ------------------------ > > Powered by BigRock.com > > >