Comments (4)
Glad you like it, and thanks for the feedback!
I'm hesitant to completely remove that snippet in case others use it and find it useful. However, I'll do some digging and see if there's a way to not override user-defined snippets when I publish an update.
Also, if you have any custom changes that are shareable with the wider community, feel free to make a PR or suggest a change. I'm more than happy to improve that area of the extension; it's been a while since I've touched them.
from vscode-yara.
Unfortunately I think there isn't a way to override or disable snippets defined in extensions: microsoft/vscode#10565
I currently use a snippet like this, unsure if this is preferable the current shorter default snippet.
{
"Rule": {
"prefix": "rule",
"body": [
"rule ${1} : ",
"{",
" meta:",
" author = "$MYNAME""
" date = """
" description = """
" hash = """
""
" strings:"
" $ = """
""
" condition:",
" ",
"}"
],
"description": "Generate a basic skeleton"
}
}
Obviously its up to you and i will certainly continue to use your extension regardless of whether you make any changes to the snippets.
from vscode-yara.
Do you have a User Snippet and a YARA snippet available in your menu or are you overriding the built-in snippets?
Thanks for the issue link; i didn't realize this was such a wide-ranging issue across extensions. The best solution in the short term might be to add a YARA Snippets extension to support both people who want them provided and those who want to create personal ones
from vscode-yara.
Just pushed out a new release that re-works the snippets and adds configuration settings to enable/disable the section and rule snippets. I hope this is a good compromise and still fits your needs with the extension.
Closing this issue, but please feel free to reopen or create a new issue if you have any additional feedback. Thank you!
from vscode-yara.
Related Issues (20)
- Greedy regex HOT 2
- Configuration-based metadata HOT 2
- Research and add FileSystemProvider support if needed HOT 1
- Hex string highlights invalid non-hex characters HOT 1
- Highlight invalid/missing escapes as errors
- Rename repo HOT 2
- private rules do not support goto definition, peek definition, ctrl+click HOT 1
- Open VSX Listing: Signing the Publisher Agreement HOT 3
- Automatically publish packages to the VSCode and OpenVSX marketplace
- Add extension output channel
- Make some decent images
- Broken Syntax Highlighting HOT 5
- Syntax Bugs HOT 1
- Additional Syntax Opportunities
- Fix "Publish to VSCode" action HOT 1
- Support Web Extensions
- Web Extension shows syntax, but no language features like Definitons, References, etc.
- Avast YLS HOT 1
- Invalid regex in grammar: lookbehind assertion is not fixed length
- Comments in grouping
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 vscode-yara.