Next Edit Suggestion (NES) dynamically predicts your next code change based on full code context, recent edits, and cursor position. Press Tab to apply the suggested change.
When you rename a parameter, NES suggests updating all related occurrences in the current context.
NES suggests optimizations and refactoring for existing code within a function.
When you add a variable inside a code block, NES suggests updates to subsequent code that accesses that variable.
After adding an annotation to a field, NES suggests adding the same annotation to other relevant fields.
When you add a parameter to a function, NES suggests adding it to all call sites for that function.
Type / at the target location to trigger a comment suggestion. Press Ctrl + ↓ to accept the current inline suggestion.
Enable Next Edit Suggestion
- JetBrains IDE
- Qoder CN IDE
- Go to Settings > Qoder CN. Under NES Settings, select Enable NES (Next Edit Suggestion). This feature is disabled by default. When enabled, suggestion mode defaults to auto and code shifting defaults to No.
- Three suggestion modes are available: inline, side by side, and auto. Code shifting applies only in inline and auto modes, and controls whether existing code shifts to accommodate suggestions.
Use cases
- Interact with suggestions: Hover over the accept button to open the Qoder CN NES menu, then click accept or reject. You can also press Tab to accept or Esc to reject. Click Settings to adjust preferences.
- Navigate to out-of-view suggestions in the same file: If the next suggestion is outside the current viewport, a button appears. Click it or press Tab to jump to the suggestion.
- Navigate to suggestions in other files: If the next suggestion is in a different file, a button appears. Click it or press Tab to open that file and jump to the suggestion.