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

feature request: variables and parameters in different colours #115

Open
Pierre-Flener opened this issue Oct 14, 2020 · 2 comments
Open

Comments

@Pierre-Flener
Copy link

I suspect this is difficult to do, but it would be nice if the IDE had (one day) an option to display all the decision variables in one colour and all the parameters in another colour: hunting for common symptoms of inefficiency or potentially unexpected behaviour (such as unfixed where clauses) in a model would be easier.

@guidotack
Copy link
Member

I agree this would be nice. However it requires full incremental type checking of the model, and the type checking would have to be reasonably robust against syntax and type errors (the current parser and type checker just give up when anything is incorrect). I guess it would be possible to make this work for models that have no syntax or type errors, and fall back on the current syntax highlighting as soon as an error is detected.

@Pierre-Flener
Copy link
Author

What about non-incremental colouring: just on-demand, with frozen editing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants