Skip to content
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

macro: add line numbers into Python API output #2660

Open
oliver-sanders opened this issue Jan 18, 2023 · 0 comments
Open

macro: add line numbers into Python API output #2660

oliver-sanders opened this issue Jan 18, 2023 · 0 comments
Milestone

Comments

@oliver-sanders
Copy link
Member

In order to provide text editor support for Rose validation output we will need line numbers to be available via a Python API to the validate functionality.

The easiest way to do this will likely be to put this location information into the config node (metom.rose.config.ConfigNode).

Note:

  1. Line numbers are already present in the function which loads the config (metomi.rose.config.load) they just aren't reflected in the config yet.
  2. Check out the Language Server Protocol (LSP) docs to make sure we have enough information, we may need column numbers too.
@oliver-sanders oliver-sanders added this to the 2.gui milestone Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant