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

Allow style overrides for inlay_hints.css #2232

Merged
merged 4 commits into from
Apr 9, 2023

Conversation

jwortmann
Copy link
Member

Closes #2229.

This allows user modifications of the inlay hint styles more easily, by overriding only the inlay_hints.css file.
When you create an override for the file, ST must be restarted, because the CSS is loaded only when the LSP package is loaded (on ST start).

I hope ST devs one day will fix the color scheme bug that I mentioned in the linked issue, but I think for now this is a feasible workaround.

@predragnikolic
Copy link
Member

Can you also add that to the the docs? (preferably to the customization section
https://lsp.sublimetext.io/customization/)

jwortmann and others added 3 commits April 5, 2023 17:09
I just reordered the sections from:

```
...
...
...
...
```
to:
```
...
...
...
...
```
I think the Keyboard shortcuts are more important
than the styling of hover and inlay hints.
@predragnikolic predragnikolic changed the title Move inlay hint CSS to separate file Allow style overrides for inlay_hints.css Apr 9, 2023
@predragnikolic predragnikolic merged commit 121c592 into sublimelsp:main Apr 9, 2023
@jwortmann jwortmann deleted the phantoms-css branch April 9, 2023 14:32
rchl added a commit that referenced this pull request Apr 17, 2023
* main:
  Clear pull diagnostics on file closed (#2224)
  html-escape diagnostic-related strings (#2228)
  Allow style overrides for inlay_hints.css (#2232)
  Fix exception for null response id (#2233)
  Add "outline" as an option for "document_highlight_style" (#2234)
  remove accidentally committed files
  Improve label detail support in completions (#2212)
  Update clojure-lsp docs (#2226)
  Add support for pull diagnostics (#2221)
  update test MockManager after API change
  add a client option for hiding non-project diagnostics (#2218)
  Fix some features might not work with dynamical registration (#2222)
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

Successfully merging this pull request may close these issues.

Settings for editing inlay hints
3 participants