Giter Site home page Giter Site logo

Comments (3)

erinata avatar erinata commented on August 18, 2024

First of all, I must say that I really like the idea of a convention-driven repository of snippets.

However, I never expect someone to edit the ftd file themselves. (That's why I didn't notice this bug I think)

But I need some time to look for the error. I can replicate the bug and I think it's due to the loose coding of how to deal with the [>END<] so that it cannot process [>$[![END]!]<] properly.

At this point of time I cannot think of an easy way to do what you want to do. But I will try to fix this bug and also think of a better way to let people do this convention-driven repository of snippets more easily.

from fingertext.

zyrolasting avatar zyrolasting commented on August 18, 2024

Allowing for multiple scopes in an FTD file would be a great first step. I cannot type, say, Lang:HTML|Lang:PHP on one line in an FTD file. I can only do that in the Snippet Editor. Outside of N++, I have to copy the snippet for each scope.

Imagine if you want to use Ext: for scopes that Lang: could not support. If the language you wanted to use Ext: for had multiple file extensions, then you have to copy the snippet once for each extension.

If you were running a repository with many users and thousands of snips, this one feature can significantly reduce disk usage and maintenance work.

from fingertext.

zyrolasting avatar zyrolasting commented on August 18, 2024

I just noticed something. I had similar weird behavior when I tried to use a normal .ftd file that did not have another .ftd file embedded in it. I compared what FingerText exports to what I am importing, and I found out that my lines closing snippets contained [>END<]$[FingerTextData FingerTextData]@#, which is incorrect because it lacks an exclamation point before the $. The correct string is [>END<]!$[FingerTextData FingerTextData]@#

That being said, look at the very last line of the sample I gave you in the OP.

On a side note, I also sent you an email about the repo.

from fingertext.

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.