-
Notifications
You must be signed in to change notification settings - Fork 679
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
Method return type syntax highlighting issues #33
Comments
@TheColorRed Thanks for reporting this. Can you paste the code snippet as well, to speed up the instigations? |
From @TheColorRed on February 9, 2016 16:48 Here is the code: public GameObject[] GetItems(string name){
List<GameObject> items = new List<GameObject>();
foreach(InventoryItem i in inventoryItems){
if(i.itemName == name){
items.Add(i.gameObject);
}
}
return items.ToArray();
}
public GameObject[] GetItems<T>(){
List<GameObject> items = new List<GameObject>();
foreach(var i in inventoryItems){
if(i.GetType() == typeof(T)){
items.Add(i.gameObject);
}
}
return items.ToArray();
} Note: the type hinting in the foreach also isn't highlighted. |
@DustinCampbell Can you please label this with "Syntax highlighting", so that when I come back to looking at this I can potentially look at fixing it. Or maybe @seraku24 will beat me to it ;) |
Also change the title to "Method return type syntax highlighting issues" or something 👍 |
Create basic initial LSP server project and extension code to connect to it
From @TheColorRed on February 6, 2016 3:18
Theme: Colorful Default Themes (Dark)
There is still a small issue when syntax highlighting generators, as you can see from this screenshot:
When using a generator, everything becomes white. Also the class definition in the foreach is also white.
Copied from original issue: microsoft/vscode#2756
The text was updated successfully, but these errors were encountered: