• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Intellj IDEA - Reference project

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just started using Intellj IDEA for writing Javascript. For this I have created a 'Static web project'.

I have also been given another Javascript project (created in Intellj) which has a some classes and functions that I need to refer to.

So, my from project I need a way to reference another project (created in the same IDE). Goal is that I can use the classes and function from this other project and leverage IDE's features like auto complete.

Is it possible to do this? I won't be making changes to the project that needs to be referenced.
 
Ranch Hand
Posts: 56
4
Mac OS X IntelliJ IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To me your problem does not seem related to IntelliJ.

I think what you rather need is to use a build management tool like Maven or Gradle.
 
Sheriff
Posts: 67597
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If this is a JavaScript project, then you should likely be using WebStorm rather than IntelliJ.

Regardless, both IDEs will allow you to include both of your systems as modules under a single project and to create dependencies between those modules.
reply
    Bookmark Topic Watch Topic
  • New Topic