Core Capabilities of NEXT
-
Intelligent Context Awareness - Analyzes not only the current file but also the broader project context, including:
- Immediate context of the current file
- Recently opened files and other recent files
- Dependencies and relationships between different files across the codebase
- Line-level and Method-level Completion - Provides multi-level code suggestions from single lines to complete methods
- Proactive Need Prediction - AI predicts your needs without asking, proactively providing intelligent suggestions at the cursor position
- Multi-line Smart Editing - Edit multiple lines of code at once near the cursor
- Continuous Learning - Optimizes suggestions based on recent changes and previously accepted edits
- Automated Assistance - Automatically imports dependencies, reducing manual operations
How to Use NEXT
Enable Settings
Before using NEXT, confirm that the feature is enabled in Qoder plugin settings.Triggering Methods
Automatic Trigger:- Automatically generates code suggestions as you write code
- Also triggers intelligent suggestions when you enter natural language prompts in comments
- Press
⌥ P(macOS) orAlt P(Windows/Linux) to request code suggestions
Suggestion Display Modes
Qoder intelligently adjusts the display mode of suggestions to provide the best comparison experience: Ghost View: By default, code completions are displayed as gray text. Side-by-Side View: If there are multiple modifications inline/between lines, it automatically displays in a side-by-side Diff view for easy comparison. Inline View: If code changes are too wide to display comfortably in the editor, Qoder automatically switches to inline view to ensure readability and avoid horizontal scrolling.Accept or Reject Suggestions
When code suggestions appear in the editor, you can: Using Mouse:- Hover over “Accept/Reject” to operate
| Action | macOS | Windows/Linux |
|---|---|---|
| Accept suggestion | Tab | Tab |
| Reject suggestion | Esc | Esc |
| Manually trigger suggestion | ⌥ P | Alt P |
Cross-location Navigation
Same-file Navigation: If the next edit location is not in the current view, click “Tab to Jump” or pressTab to jump to the edit location in the same file.
Cross-file Navigation: If the edit is in another file, click “Tab to Jump” or press Tab to jump to the edit location in the target file.
Typical Use Cases
Consistent Renaming
When you rename a variable or function, NEXT prompts you to update all occurrences of that identifier throughout the file, ensuring consistency with a single click.Smart Refactoring
Discovers opportunities to simplify code, such as converting code blocks to more modern syntax or extracting logic into separate methods, and presents the refactored code for your review and approval.Function Parameter Updates
After adding new parameters to a function definition, automatically suggests updating all call sites that use the function, eliminating tedious manual searching.Pattern Completion
After you declare a new variable or add annotations to a class field, predicts the next logical operation—such as initializing that variable or applying similar annotations to other fields—and provides corresponding code suggestions.Instant Documentation
Place the cursor above a function and type/ to trigger automatic suggestions that generate complete, context-aware comment blocks (such as JSDoc), describing the function, its parameters, and return values.