-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanrelease-notesRelease notes issuesRelease notes issuessnippets
Milestone
Description
- VSCode Version: 1.5.3
- OS Version: macOS 10.12
Currently snippets are defined by language type and only available when a file of that language is open. In an effort to not reproduce snippets between languages I'd like to see a "global" snippet .json file that makes snippets available for any file type, in addition to the file type specific ones defined in Code...Preferences...User Snippets.
Example. I've created a snippet for the CSS margin option:
"margin": { "prefix": "Z_margin", "body": ["margin: ${1:top}px ${2:right}px ${3:bottom}px ${4:left}px;${5:}"], "description": "Margin" }
I'd like to have that available for .css, .html, and .php files without haveing to copy it in all three .json files.
alekratz, chris-schmitz, kumarharsh, sheldonhull, Nejik and 39 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanrelease-notesRelease notes issuesRelease notes issuessnippets