Comments (7)
It works - I've just added semantic_tokens_type_style
to the config file, disabled by default, check the global config file for details.
The only problem is that it cannot make the types bold unfortunately. So I prefer highlighting using keywords for C/C++ but using indicators may be the only option for lexers not supporting keyword type highlighting (unfortunately neither python nor go support semantic tokens so I couldn't test with these).
from geany-lsp.
Ok, colours types anyway, will see over time how accurate it is.
from geany-lsp.
Seems to work :-)
The only problem is that it cannot make the types bold unfortunately.
Maybe Neil will accept a well written patch later.
from geany-lsp.
Maybe Neil will accept a well written patch later.
Not possible it seems:
https://sourceforge.net/p/scintilla/feature-requests/1505/
from geany-lsp.
BOLD does not change the width of proper monospace fonts, look at any type in Geany's default style.
Its possible broken fonts using fake bold will change, and non-monospaced I guess.
Anyway, ok, fonts can't be bold, time to change the default style in Geany 😁
Vscode default theme doesn't bold anything either so I guess its possible to do a usable theme non-bolding, but not so good for the colour challenged.
from geany-lsp.
BOLD does not change the width of proper monospace fonts, look at any type in Geany's default style.
Try installing SciTE. By default it doesn't use monospaced fonts and I suspect that this is how Neil uses it and Scintilla has to support that. This was always the first thing I had to change when I was using SciTE :-)
from geany-lsp.
Silly ideas young folks have today, programming in non-monospace, whatever is the world coming to [end grumpy olde guy rant]
I can understand Neil's point, the indicators don't re-run layout, so bold (or any other thing that changes layout) can't be used, and I expect its not even possible to know if layout needs to be re-run until after layout has been re-run. :-S
Anyhow so far colours seem to work, so we will just have to live without bold.
from geany-lsp.
Related Issues (20)
- Correctly interpret server initialize responses HOT 2
- Performance problem in json-glib HOT 1
- Autocomplete popup selects wrong item briefly HOT 1
- Add configuration option to disable LSP for files outside the project dir HOT 1
- Implement simplified logging HOT 1
- Find references output could be more useful HOT 3
- Right click in editor does not move the caret to position clicked HOT 10
- Add keybinding for going to next error/warning in document HOT 1
- Support autocompletion snippets
- Build Warning HOT 1
- That aggressive popup (again) HOT 18
- Improve textDocument/rename experience
- Implement custom popup message window HOT 2
- Consider the possibility of having multiple LSP servers for one filetype
- Starting servers inconsistent HOT 7
- Configuring the LSP plugin HOT 1
- Trigger server to re-parse on reload HOT 4
- Implement "root markers" HOT 1
- Why can't TM symbol tree be used? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geany-lsp.