microsoft / microsoft/TypeScript-Sublime-Plugin
Sublime Snippets not working in Sublime3 build 3211
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 236
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
The following snippet works perfectly fine for the tabTrigger cl in .js files, but not for .ts or .tsx files:
<snippet>
<content><![CDATA[
console.log('## ${TM_FILENAME/(.+)\..+/$1/} -> ${1:anything}\n', ${2:${1:anything}});
]]></content>
<tabTrigger>cl</tabTrigger>
<scope>source.js, source.ts, source.tsx</scope>
</snippet>
TypeScript-Sublime package at version v3.7.3
Sublime at build 3211
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 supplied snippet with TypeScript-Sublime v3.7.3 in Sublime build 3211, comparing the cl tab trigger in .js, .ts, and .tsx files. Start by checking how the snippet scopes are recognized, and consider the issue done when the trigger behaves consistently across the listed file types.
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
- 38/100