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
ide/lsp.client fonts-colors #4057
Conversation
Let the lsp.client module acknoledge whatever font-colors have been registered for a given mimme-type. As a performance plus, the lookup of FontsAndColors is moved out of the loop over the tokens.getData() list.
Hi @matthiasblaesing , mind taking a look at this? These are the commits for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea looks sane to me, but I left a few inline comments, where the threading issue is my main headache.
ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
Outdated
Show resolved
Hide resolved
ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
Outdated
Show resolved
Hide resolved
ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
Outdated
Show resolved
Hide resolved
ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
Outdated
Show resolved
Hide resolved
ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java
Outdated
Show resolved
Hide resolved
...nt/src/org/netbeans/modules/lsp/client/bindings/TextDocumentSyncServerCapabilityHandler.java
Outdated
Show resolved
Hide resolved
Thanks for the throrough review, @matthiasblaesing! |
af70600
to
e647625
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok - you reduced the scope of this slightly ;-)
Looked sane already on the first pass.
@matthiasblaesing yes, rearranging the threading is going to take longer than expected, worth a full PR in the future. Let's move along with cnd. |
ide/lsp.client threading and fonts-colors improvements