Editor Settings


The editor settings dialog is shown when you select Settings->Java Editor Settings from the menu in the script editor dialog.
  In the code completion popup settings section, you can configure the following options:
  • Auto-popup code completion after dot
    If selected, each time you type a dot (".") in the script editor, the code completion popup will be displayed after a certain delay unless you type another character in the meantime.
  • Delay
    The "Auto-popup code completion after dot" feature above uses a configurable delay. By default, the delay is set to 1000 ms.
  • Popup height
    The height of the completion popup in number of entries is configurable.
  In the display code problems section, you can configure the threshold for which code problems are shown in the editor.
  • None
    No code problems are displayed at all.
  • Errors only
    Only problems that prevent code compilation are displayed. Errors show as red underlines in the editor and red stripes in the right gutter.
  • Errors and warnings
    In addition to errors, warnings are displayed. Warnings cover all kinds of suspicious conditions that could be sources of bugs such as an unused local variable. Warnings are displayed as yellow backgrounds in the editor and yellow stripes in the right gutter.
  In the Javadoc Settings section, there is an option to use the online documentation for the JProfiler API instead of the bundled HTML files. Since Windows 7, it is not possible to use anchors when showing URLs anymore, so JavaScript redirection files are used to navigate to anchors in the Javadoc documentation. When Internet Explorer is used, two warnings are displayed each time you invoke a show Javadoc action. By using the online documentation, these warnings are eliminated.
  The JDK for code editor section mirrors the session JDK configuration in the code editor settings of the session settings dialog.