autocomplete settings, IDE or text editor, writting plugin












0















I have an kinda difficult question(btw, sorry for my english).



My mad boss wants me to wrote a lot of strange text (i cant call it code), the problem is in the autocomplete, i will try to explain:



For example I am need to write text, about 120 000 words, and some sentences uses in this text really often - about 100 times, this sentences is "QuIcK brOwn foX", "jums over something" and "i dont know english" (case is important, also there actually about 200 sentences, which uses 100 times and some of them starts with quotes), so i hope there is some text editor or IDE which will give me an opportunity to customize autocomplete settings to make this job easier, but i dint found any one... If u know some software, which will help me, i will bw very Thankful



BTW, if u know, where i can find detail information about writting autocomplete plugins for any text editor or IDE, i also will be very thankful!



i probaly wasnt very clear, actually i have a lot of java classes, which contains only fields whit annotantions like:



@NameOfField("dat brown fox")

Enimal datBrownFox;



@NameOfField("dat Lazy Dog")

Enimal datLazyDog;



And i have to write some code in... TXT file, which looks like BDD scenario:



"dat Lazy Dog" bites "dat brown fox"



And it must be absolutelly the same as text in the annotaions, in other way it does not work fine, and dint throwing any error...



There are may be about 1000 this annotations in all project in different classes, different packages etc.










share|improve this question

























  • Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

    – yole
    Nov 20 '18 at 19:24











  • Snippets and live templates also work in TXT files.

    – yole
    Nov 20 '18 at 19:44











  • update description

    – Dehedero
    Nov 20 '18 at 19:52











  • i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

    – Dehedero
    Nov 20 '18 at 19:58













  • thank you for advise, i find out where life template xml file is, its not a problem anymore))

    – Dehedero
    Nov 20 '18 at 20:32
















0















I have an kinda difficult question(btw, sorry for my english).



My mad boss wants me to wrote a lot of strange text (i cant call it code), the problem is in the autocomplete, i will try to explain:



For example I am need to write text, about 120 000 words, and some sentences uses in this text really often - about 100 times, this sentences is "QuIcK brOwn foX", "jums over something" and "i dont know english" (case is important, also there actually about 200 sentences, which uses 100 times and some of them starts with quotes), so i hope there is some text editor or IDE which will give me an opportunity to customize autocomplete settings to make this job easier, but i dint found any one... If u know some software, which will help me, i will bw very Thankful



BTW, if u know, where i can find detail information about writting autocomplete plugins for any text editor or IDE, i also will be very thankful!



i probaly wasnt very clear, actually i have a lot of java classes, which contains only fields whit annotantions like:



@NameOfField("dat brown fox")

Enimal datBrownFox;



@NameOfField("dat Lazy Dog")

Enimal datLazyDog;



And i have to write some code in... TXT file, which looks like BDD scenario:



"dat Lazy Dog" bites "dat brown fox"



And it must be absolutelly the same as text in the annotaions, in other way it does not work fine, and dint throwing any error...



There are may be about 1000 this annotations in all project in different classes, different packages etc.










share|improve this question

























  • Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

    – yole
    Nov 20 '18 at 19:24











  • Snippets and live templates also work in TXT files.

    – yole
    Nov 20 '18 at 19:44











  • update description

    – Dehedero
    Nov 20 '18 at 19:52











  • i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

    – Dehedero
    Nov 20 '18 at 19:58













  • thank you for advise, i find out where life template xml file is, its not a problem anymore))

    – Dehedero
    Nov 20 '18 at 20:32














0












0








0


0






I have an kinda difficult question(btw, sorry for my english).



My mad boss wants me to wrote a lot of strange text (i cant call it code), the problem is in the autocomplete, i will try to explain:



For example I am need to write text, about 120 000 words, and some sentences uses in this text really often - about 100 times, this sentences is "QuIcK brOwn foX", "jums over something" and "i dont know english" (case is important, also there actually about 200 sentences, which uses 100 times and some of them starts with quotes), so i hope there is some text editor or IDE which will give me an opportunity to customize autocomplete settings to make this job easier, but i dint found any one... If u know some software, which will help me, i will bw very Thankful



BTW, if u know, where i can find detail information about writting autocomplete plugins for any text editor or IDE, i also will be very thankful!



i probaly wasnt very clear, actually i have a lot of java classes, which contains only fields whit annotantions like:



@NameOfField("dat brown fox")

Enimal datBrownFox;



@NameOfField("dat Lazy Dog")

Enimal datLazyDog;



And i have to write some code in... TXT file, which looks like BDD scenario:



"dat Lazy Dog" bites "dat brown fox"



And it must be absolutelly the same as text in the annotaions, in other way it does not work fine, and dint throwing any error...



There are may be about 1000 this annotations in all project in different classes, different packages etc.










share|improve this question
















I have an kinda difficult question(btw, sorry for my english).



My mad boss wants me to wrote a lot of strange text (i cant call it code), the problem is in the autocomplete, i will try to explain:



For example I am need to write text, about 120 000 words, and some sentences uses in this text really often - about 100 times, this sentences is "QuIcK brOwn foX", "jums over something" and "i dont know english" (case is important, also there actually about 200 sentences, which uses 100 times and some of them starts with quotes), so i hope there is some text editor or IDE which will give me an opportunity to customize autocomplete settings to make this job easier, but i dint found any one... If u know some software, which will help me, i will bw very Thankful



BTW, if u know, where i can find detail information about writting autocomplete plugins for any text editor or IDE, i also will be very thankful!



i probaly wasnt very clear, actually i have a lot of java classes, which contains only fields whit annotantions like:



@NameOfField("dat brown fox")

Enimal datBrownFox;



@NameOfField("dat Lazy Dog")

Enimal datLazyDog;



And i have to write some code in... TXT file, which looks like BDD scenario:



"dat Lazy Dog" bites "dat brown fox"



And it must be absolutelly the same as text in the annotaions, in other way it does not work fine, and dint throwing any error...



There are may be about 1000 this annotations in all project in different classes, different packages etc.







java text plugins ide editor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '18 at 19:51







Dehedero

















asked Nov 20 '18 at 19:04









DehederoDehedero

11




11













  • Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

    – yole
    Nov 20 '18 at 19:24











  • Snippets and live templates also work in TXT files.

    – yole
    Nov 20 '18 at 19:44











  • update description

    – Dehedero
    Nov 20 '18 at 19:52











  • i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

    – Dehedero
    Nov 20 '18 at 19:58













  • thank you for advise, i find out where life template xml file is, its not a problem anymore))

    – Dehedero
    Nov 20 '18 at 20:32



















  • Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

    – yole
    Nov 20 '18 at 19:24











  • Snippets and live templates also work in TXT files.

    – yole
    Nov 20 '18 at 19:44











  • update description

    – Dehedero
    Nov 20 '18 at 19:52











  • i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

    – Dehedero
    Nov 20 '18 at 19:58













  • thank you for advise, i find out where life template xml file is, its not a problem anymore))

    – Dehedero
    Nov 20 '18 at 20:32

















Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

– yole
Nov 20 '18 at 19:24





Most editors and IDEs have a feature called "snippets" or (in case of IntelliJ IDEA) "live templates" which can be used for this. You don't need to write a plugin.

– yole
Nov 20 '18 at 19:24













Snippets and live templates also work in TXT files.

– yole
Nov 20 '18 at 19:44





Snippets and live templates also work in TXT files.

– yole
Nov 20 '18 at 19:44













update description

– Dehedero
Nov 20 '18 at 19:52





update description

– Dehedero
Nov 20 '18 at 19:52













i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

– Dehedero
Nov 20 '18 at 19:58







i actually can parse all java classe to find all of them and write it to.. emm.. txt file why not, but how to add a 1000 live templates? manually? god dam legacy code...

– Dehedero
Nov 20 '18 at 19:58















thank you for advise, i find out where life template xml file is, its not a problem anymore))

– Dehedero
Nov 20 '18 at 20:32





thank you for advise, i find out where life template xml file is, its not a problem anymore))

– Dehedero
Nov 20 '18 at 20:32












1 Answer
1






active

oldest

votes


















0














This is a little complicated, but I think Netbeans does what you're asking.



Go to Tools -> Options -> Editor tab -> Code Templates tab



Then click "New" on the right side, and for the abbreviation use the first letter (or two, or three) of the sentence you want to auto-complete. Fill in the full sentence under "Expanded Text," and set "Expand Template on:" to "Tab" (or whatever key you'd prefer). Click OK.



Now when you type the first letter of the sentence and press Tab, it should auto-complete that sentence.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53399848%2fautocomplete-settings-ide-or-text-editor-writting-plugin%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This is a little complicated, but I think Netbeans does what you're asking.



    Go to Tools -> Options -> Editor tab -> Code Templates tab



    Then click "New" on the right side, and for the abbreviation use the first letter (or two, or three) of the sentence you want to auto-complete. Fill in the full sentence under "Expanded Text," and set "Expand Template on:" to "Tab" (or whatever key you'd prefer). Click OK.



    Now when you type the first letter of the sentence and press Tab, it should auto-complete that sentence.






    share|improve this answer




























      0














      This is a little complicated, but I think Netbeans does what you're asking.



      Go to Tools -> Options -> Editor tab -> Code Templates tab



      Then click "New" on the right side, and for the abbreviation use the first letter (or two, or three) of the sentence you want to auto-complete. Fill in the full sentence under "Expanded Text," and set "Expand Template on:" to "Tab" (or whatever key you'd prefer). Click OK.



      Now when you type the first letter of the sentence and press Tab, it should auto-complete that sentence.






      share|improve this answer


























        0












        0








        0







        This is a little complicated, but I think Netbeans does what you're asking.



        Go to Tools -> Options -> Editor tab -> Code Templates tab



        Then click "New" on the right side, and for the abbreviation use the first letter (or two, or three) of the sentence you want to auto-complete. Fill in the full sentence under "Expanded Text," and set "Expand Template on:" to "Tab" (or whatever key you'd prefer). Click OK.



        Now when you type the first letter of the sentence and press Tab, it should auto-complete that sentence.






        share|improve this answer













        This is a little complicated, but I think Netbeans does what you're asking.



        Go to Tools -> Options -> Editor tab -> Code Templates tab



        Then click "New" on the right side, and for the abbreviation use the first letter (or two, or three) of the sentence you want to auto-complete. Fill in the full sentence under "Expanded Text," and set "Expand Template on:" to "Tab" (or whatever key you'd prefer). Click OK.



        Now when you type the first letter of the sentence and press Tab, it should auto-complete that sentence.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 20 '18 at 20:48









        dalton_bdalton_b

        12




        12
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53399848%2fautocomplete-settings-ide-or-text-editor-writting-plugin%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Guess what letter conforming each word

            Port of Spain

            Run scheduled task as local user group (not BUILTIN)