-
Notifications
You must be signed in to change notification settings - Fork 185
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
on apply error, from kubectl edit, we should indicate the suspect line number #4795
Comments
a candidate algorithm, if
x is the ugly part, because of the way kubectl encodes things. we have to unwrap the leading “-”, then remove whatever whitespace it might add (because kubectl’s whitespace is not the same as in the original s), then kubectl adds quotation marks, and possibly a trailing comma |
we may also want to link to the line numbers in the error alert. i.e. in a way that causes the monaco editor to scroll that line into view. |
this will require parsing out the low-level kubectl message. e.g. in the following error, the line prefixed with "-" is the one we would like to mark in monaco-editor. we could use monaco's line markers to do so.
The text was updated successfully, but these errors were encountered: