Comments (2)
Thanks for testing. tss should be fairly fault-tolerant (almost too much so), so even if you don't have the TypeScript sources cloned at the right relative path, you can still get some information by applying tss to its own sources. That doesn't mean that the docs (such as they are) don't need improvement (currently, the best documentation of the json format is the source:-(, and I hope to get around to a blog post or perhaps screencast next week.
The error message suggests that the file has not been loaded, or at least not under that path - how did you start the server, and what path did it output? Also, there isn't anything on line 8 in tss.ts, so you wouldn't get any information even if that path was loaded.
Here is a simple example, with the current tss sources, without the TypeScript sources installed
git clone git://github.com/clausreinke/typescript-tools.git
cd typescript-tools/
npm install -g
$ tss tss.ts
"loaded c:/javascript/typescript/tst/typescript-tools/tss.ts, TSS listening.."
symbol 327 5 c:/javascript/typescript/tst/typescript-tools/tss.ts
"setup:(file: any) => void"
> symbol 327 1 c:/javascript/typescript/tst/typescript-tools/tss.ts
"tss: TSS"
> definition 327 1 c:/javascript/typescript/tst/typescript-tools/tss.ts
{"def":{"unitIndex":4,"minChar":10581,"limChar":10603,"kind":"variable","name":"
tss","containerKind":"","containerName":"__GLO"},"file":"c:/javascript/typescrip
t/tst/typescript-tools/tss.ts","min":[325,3],"lim":[326,23]}
quit
"TSS closing"
from typescript-tools.
Thanks for posting this. Extremely helpful, and now I'm getting source information.
Edit: this tool works really good; i'll post an update once my sublime plugin has been completed.
from typescript-tools.
Related Issues (20)
- How I can configure it to target ES5 when checking for errors? HOT 5
- add support for getEmitOutput HOT 1
- add configuration support HOT 1
- TSSreferences does not show contents of line in location list HOT 1
- Parameter completion HOT 5
- tss 1.4: test for undefined instead of null HOT 4
- Vim: Showing the file structure in another window HOT 4
- split tss and vim into separate repos? HOT 5
- Angular.d.ts seems to break completion. HOT 3
- Doc: showError output HOT 4
- Error detected while processing function TSSdef HOT 2
- Error if non-existing files are listed in tsconfig.json
- [email protected] is now in npm, please upload typescript-tools1.5 HOT 7
- Random crash HOT 2
- TS2339 error mismatch between tss and tsc HOT 2
- Error: Cannot find module 'typescript' HOT 12
- Following Angular2's quickstart - can't find the tsconfig.json (or doesn't read it) HOT 1
- upgrade to the latest typescript HOT 1
- tsconfig.json parsing
- Publish? 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-tools.