From the course: IntelliJ IDEA Community Edition Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Open files outside of projects with LightEdit

Open files outside of projects with LightEdit

From the course: IntelliJ IDEA Community Edition Essential Training

Start my 1-month free trial

Open files outside of projects with LightEdit

- [Tutor] IntelliJ IDEA has a feature named LightEdit, that lets you edit just one file, without creating or onloading an entire project. When you use IDEA this way, it behaves as a simple text editor. It does a little better than a basic text editor. For example, you get a certain amount of navigation, and color coding, but you don't get code completion and you can't run the application. I'll demonstrate this feature with a copy of a main.Java file that I've extracted from a project, and placed on my desktop. I'll right-click on it and choose open with, and then I'll choose IntelliJ IDEA. It takes a moment to load, but then when you see the file, you'll see the color coding you might already recognize. So for example, package, public and class are keywords, so they get one color, literal text gets another color, comments are grayed out and so on. So IntelliJ IDEA is recognizing the programming language, and helping…

Contents