andymoreland / tsunami Goto Github PK
View Code? Open in Web Editor NEWTypescript IDE for text editors (emacs, vscode)
Typescript IDE for text editors (emacs, vscode)
I have a package that exposes "namespaces" as one-level nested folders:
import { sym } from "mypackage";
import { AOptions } from "mypackage/modulea";
import { BOptions } from "mypackage/moduleb";
The second two imports above are not accessible from the root package, so Tsunami is unable to provide those import suggestions. In practice, they're implemented as root-level modulea.d.ts
and moduleb.d.ts
files.
In general, importing from not-package-root seems unideal. Perhaps this can go in a .tsunami file with hints for downstream projects, or a custom package.json
key that Tsunami looks for?
Right now I get thrown off by auto-imports when typing in code comments. I'm using tsunami-code v0.7.0.
Request: don't auto-import when typing in comments.
Thanks for your plugin, with latest changes it works great on windows. I have few more issues now:
Also please make an option to disable import completion popup if these issues are hard to resolve (in this case it's better to wait for native TS auto-import implementation) .
VScode 1.8.1
Tsunami-vscode 0.5.2
Windows 10
In my project, I have folders which have an index.ts
which re-export all "public" symbols from that folder. I want my imports to come from that folder when applicable:
// module/index.ts
export interface Foo {
bar: string;
}
// other/file.ts
// current import emit:
import { Foo } from "../module/index";
// expected import emit:
import { Foo } from "../module";
"foo.ts" next to "foo" causes issues with relative imports
User has internal module structure that re-exports symbols. Prefers that the symbols are exported from index files rather than from the source modules.
If I have something like: FooBar
and put my cursor in between the B
and the a
to import FooBar
, it will not remove the suffix properly and give me FooBarar
goal is to support importing, for example, lodash methods underneath a consistent namespace import.
tsunami-code 0.5.1
VScode 1.8.1
Windows 10
I have few problems which makes this plugin totally unusable on Windows:
../../path/to/file
to ..\..\path\to\file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.