(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) IDE/Editor :
CodeInsight isn't working!
CodeInsight doesn't function below any existing syntax errors in a file, or if the file hasn't been compiled yet.

Fix any syntax errors (comment them out if you have to) and then compile the file. CodeInsight should start working.
2001-Jan-08 6:23pm gyles19@visi.com

The insights function by inspecting classes on the project's classpath for the information they will present to you. If there are no class files (yet), the insights have nothing to inspect.

As I understand it, CodeInsight is using the compiler to build a syntax/parse tree as you type. (This is partially reflected in the structure pane.) If you have syntax errors in the file, the compiler can't give CodeInsight a usable tree, so CI doesn't function.

Often CI will function okay in the section of the file which is above the syntax error, but sometimes the errors are such that the whole tree is garbage.
2001-May-03 6:01pm gyles19@visi.com

[Append to This Answer]
2001-May-03 6:01pm
Previous: (Category) CVS, VSS, ClearCase, etc
Next: (Answer) I'm trying to run my first application and JBuilder gives me this dialog box, or I get an error "Can not find main method" or "Unable to start runtime due to incomplete configuration."
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=42
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]