Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikecann/ts-namespace-imports
VSCode extension to help make working with namespace imports in Typescript easier
https://github.com/mikecann/ts-namespace-imports
Last synced: 18 days ago
JSON representation
VSCode extension to help make working with namespace imports in Typescript easier
- Host: GitHub
- URL: https://github.com/mikecann/ts-namespace-imports
- Owner: mikecann
- Created: 2019-12-02T00:20:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T23:30:47.000Z (over 2 years ago)
- Last Synced: 2024-10-03T09:18:59.607Z (about 1 month ago)
- Language: TypeScript
- Size: 458 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ts-namespace-imports
Detects and adds completion for namespace like imports in Typescript.
A [namespace import](http://exploringjs.com/es6/ch_modules.html#_importing-styles) is an import like:
```
import * as Utils from "./Utils.ts"
```_Note: I borrowed the idea of this extension from [this extension](https://github.com/Asana/typescript-namespace-imports-vscode-plugin), but it didnt work how I wanted so I rewrote much of it._
## Features
This extension scans your project looking for .TS files that start with a capital letter. It then offers then up in the auto-completion.
![main feature](images/main-feature.gif)
## Requirements
TS file must start with a capital letter for it to be considered for completion.
## Release Notes
### 0.0.3
- Now ignoring ts files found in `node_modules`
### 0.0.1
- Very first experimental release