Comments (5)
Hi.
You can add the required triggers yourself if you follow the python tutorial.
I will post the triggers myself in the coming days and add them to the default scope-list.
from fuzzyfilepath.
@sagold Great! That would be handy!
from fuzzyfilepath.
Hi.
The following are proposals for the Typescript triggers
{
// Typescript // <reference path="" />
"scope": "source\\.ts\\scomment",
"auto": true,
"relative": true,
"base_directory": false,
"prefix": ["path"],
"tagName": ["reference"],
"extensions": ["ts", "js"],
"replace_on_insert": []
},
{
// Typescript es6 import from/import "*"
"scope": "string[^\\s]*\\.ts\\s",
"auto": true,
"relative": true,
"base_directory": false,
"prefix": ["from", "import"],
"extensions": ["js", "ts"],
"replace_on_insert": [
["(\\.js|\\.ts)$", ""],
["([^.])\\/index$", "\\1"]
]
},
and Coffeescript
{
// Coffeescript es6 import from/import "*" and require
"scope": "string[^\\s]*\\.coffee\\s",
"auto": true,
"relative": true,
"base_directory": false,
"prefix": ["from", "import", "require"],
"extensions": ["coffee"],
"replace_on_insert": []
},
There is a minor issue with // <reference ...
, because sublime does not trigger autocompletion in comments (for me). Hitting autocomplete manually opens the dialog.
Would be great if this is tested in the field, before i add them to the default triggers.
from fuzzyfilepath.
@sagold Great, thanks for the work. Unfortunately I cannot test it for now.
from fuzzyfilepath.
The changes are released 92be02f
from fuzzyfilepath.
Related Issues (20)
- Crash on sublimeText 3, build 3126 release 23rd Sep 2016 HOT 3
- [Feature request] Add full relative paths for JavaScript files by default HOT 3
- [Bug] GotoFile failed finding file HOT 3
- Breaks snippet HOT 2
- Line 641, in __getitem__ raise IndexError() HOT 2
- Lag while opening a new project, FuzzyFilePath cached ... files in ... HOT 2
- Insert path relative to the current file HOT 1
- Add JS "import ... from" statement to default prefixes
- Image Sourcing Bug HOT 1
- FFP post cleanup path:' merge set ' ~~> ' merge set '
- Error when attempting to "Find All"
- Python from completion not being erased and filled with spaces
- Not working for SCSS files HOT 1
- omit extension? HOT 1
- Not detecting new files HOT 2
- Doesn't work in latest version HOT 3
- [Question] How does it work? HOT 7
- How to "replace_on_insert" on key binding, not auto_complete_trigger HOT 1
- path is on mount, start on mount..
- Not working (Mac, Sublime 3, Build 4126)
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 fuzzyfilepath.