generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line number support #159
Comments
phodal
added a commit
that referenced
this issue
Dec 14, 2024
- Introduced `LineNo` class and corresponding `PatternActionFuncDef.LINE_NO`. - Added error handling for missing arguments in `lineNo` function. - Implemented line number addition in `PatternFuncProcessor`.
phodal
added a commit
that referenced
this issue
Dec 14, 2024
…159 Enhance the ContextVariableResolver to include a new variable type `SELECTION_LN` that appends line numbers to the selected text. This improves debugging and readability by providing context for the selected code.. ```
phodal
added a commit
that referenced
this issue
Dec 14, 2024
- Remove unused import `javax.swing.BorderFactory`. - Add regex to detect line numbers in code text. - Modify `createCodeViewerEditor` to strip line numbers if present. - Adjust editor settings to show line numbers based on detected format. - Fix potential index out of bounds in `revertDiff` method. - Update UI component styling in `ShirePanelView`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
New Variable:
$selectionWithNum
New function:
lineno($text)
The text was updated successfully, but these errors were encountered: