Comments (4)
@Franziskus1988 For what language is that?
from typescript-tmlanguage.
I can reproduce in typescript
interface TestInterface {
testvar: string;
testfunc(): string;
}
The problem is that the interface
and the first string
both get the storage.type.ts
scope.
from typescript-tmlanguage.
Also function
and var
get the storage.type
scope.
looking at http://tmtheme-editor.herokuapp.com/#!/editor/url/https://raw.githubusercontent.com/voronianski/oceanic-next-color-scheme/master/Oceanic%2520Next.tmTheme
it's probably correct to do so, and all type references should use entity.name.type.class
from typescript-tmlanguage.
Closing as fixed by #108
from typescript-tmlanguage.
Related Issues (20)
- Return argument not colored properly if multiline
- Unexpected coloring of the token in the editor HOT 4
- import attributes have weird scopes
- Support the RegExp `v` flag
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- package-lock.json update failed HOT 1
- Syntax highlighting: generic type arguments are highly affected by whitespace and other irrelevant context HOT 1
- package-lock.json update failed
- package-lock.json update failed
- TSX Default Generic Arrow Function Syntax Highlighting HOT 2
- Collapse Pick Record .... in Typescript
- Highlighting breaks when casting a variable called `type`
- Wrong color in JSDoc when using extends from a class having multiple generic parameter
- No color on default template argument HOT 1
- Tokenising failure on parenthesis-wrapped object literal's type assertion operators `as keyof typeof`
- Suggestion: give `default` another token name when modifying the things being exported HOT 1
- typescript type textMate scopes highlighting error HOT 1
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 typescript-tmlanguage.