Code Monkey home page Code Monkey logo

Comments (4)

infosec-intern avatar infosec-intern commented on August 20, 2024

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.

tlansec avatar tlansec commented on August 20, 2024

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.

infosec-intern avatar infosec-intern commented on August 20, 2024

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.

infosec-intern avatar infosec-intern commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.