microsoft / microsoft/TypeScript-Sublime-Plugin
This plugin breaks "use_tab_stops" option for JS files as well
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 236
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
I'm aware this issue is quite nearly a duplicate of #147 , but it's worth creating in any case, because this plugin not only breaks the use_tab_stops setting for the TypeScript syntax... It also breaks it for files with the JavaScript syntax.
As good as the plugin might be, it's really not acceptable that it breaks core Sublime Text functionality for file types it doesn't even work with.
To repro the issue, just create a new view, throw in some JS code:
const a = {
b: 10,
}
Tab stops still work. As soon as you save the file, e.g. as untitled.js, tab stops stop working.
If you remove the TypeScript plugin, close untitled.js and reopen it, tab stops work again. This behavior was not easy pin down.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Sublime Text using the JavaScript example, saving it as untitled.js with the TypeScript plugin enabled. Trace what changes on save and verify that use_tab_stops still works for JavaScript files while the plugin remains installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100