-
Notifications
You must be signed in to change notification settings - Fork 285
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
Syntax Highlighting? #1913
Comments
Yes it can "Go To Definition", the CBUUID is system library class from CoreBluetooth. @plemarquand |
Could you provide some diagnostics information by:
|
|
Nothing is jumping out at me in the diagnostics, however the relevant responses from the LSP are redacted to protect privacy. If you're comfortable having source code and file paths included in the diagnostics you can enable extended logging in sourcekit-lsp and run another diagnose. Regardless, since the VS Code extension has its syntax highlighting provided by sourcekit-lsp I'm going to transfer this issue to that repo. |
Looks like we might not have build settings for a file, the logs show |
Synced to Apple’s issue tracker as rdar://142560819 |
If you could do those steps, that would really help us determine what’s going wrong. |
Not fully sure how the scopes work, but I noticed that it depends on the theme I have selected for what scopes show up in this debug menu. Here is Dark+ for a variable and its type @Napoleon-Jm Can you let me know what theme you are using? Here is the same variable and type for Xcode dark theme (from the marketplace) |
When I want to use "tokenColorCustomizations" to define a color for swift, I found the syntax is not supported very well.
E.g.
![image](https://private-user-images.githubusercontent.com/16489162/400274634-9db93c59-15b0-4bff-a1f8-d290c1e10453.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDg3ODgsIm5iZiI6MTczOTAwODQ4OCwicGF0aCI6Ii8xNjQ4OTE2Mi80MDAyNzQ2MzQtOWRiOTNjNTktMTViMC00YmZmLWExZjgtZDI5MGMxZTEwNDUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA5NTQ0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlMGQ5ZWNkODRhMmVmMDUwNzMyMjNlMGZhNzYzNmVlZDEwZDIxNWYzNDQ3NDFiNWNlMDAwMzNmYmM2NGYwNDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4SIyi5tzyaBgAKK5g49CWfZt1zFpjTHb2UI61FWjS9g)
![image](https://private-user-images.githubusercontent.com/16489162/400274721-8e6ab3e6-7675-4d55-b14c-1fec2860d828.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDg3ODgsIm5iZiI6MTczOTAwODQ4OCwicGF0aCI6Ii8xNjQ4OTE2Mi80MDAyNzQ3MjEtOGU2YWIzZTYtNzY3NS00ZDU1LWIxNGMtMWZlYzI4NjBkODI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA5NTQ0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0ODQwYzE2MmQ3NWU3YWM1YTkwYjE1YzYxZGU4MDM4MmMzM2JlYjIyYjM3ZjJmZmFiZTE1MjljZjE4NTU3M2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.szd6OOeVdJDqpMW900UPb_plIZlbz9SnV4IV3SCLQxg)
The class property name and property type be recognoized the same type token?
Property name:
Property type:
the type and the name are both
meta.definition.type.body.swift
andmeta.definition.type.class.swift
There is some other not supported too, as the function param and function call param, and so on.
Can we supported for syntax highlighting for swift?
The text was updated successfully, but these errors were encountered: