atom.io auto create html basic structure












17















Im using atom.io for some time now and really like it. there is just one thing im missing. I used to use brackets and sublime before and they both had a feature where you could create the basic structure of a html documents by just typing html.



this would just set the html, head and body tag. created the charset meta, title and link to css file.



I create a lot of html files a day so it would be really helpfull if I know the shortcode or the package which supports this!










share|improve this question



























    17















    Im using atom.io for some time now and really like it. there is just one thing im missing. I used to use brackets and sublime before and they both had a feature where you could create the basic structure of a html documents by just typing html.



    this would just set the html, head and body tag. created the charset meta, title and link to css file.



    I create a lot of html files a day so it would be really helpfull if I know the shortcode or the package which supports this!










    share|improve this question

























      17












      17








      17


      4






      Im using atom.io for some time now and really like it. there is just one thing im missing. I used to use brackets and sublime before and they both had a feature where you could create the basic structure of a html documents by just typing html.



      this would just set the html, head and body tag. created the charset meta, title and link to css file.



      I create a lot of html files a day so it would be really helpfull if I know the shortcode or the package which supports this!










      share|improve this question














      Im using atom.io for some time now and really like it. there is just one thing im missing. I used to use brackets and sublime before and they both had a feature where you could create the basic structure of a html documents by just typing html.



      this would just set the html, head and body tag. created the charset meta, title and link to css file.



      I create a lot of html files a day so it would be really helpfull if I know the shortcode or the package which supports this!







      atom-editor






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 18 '16 at 13:52









      Merijn dkMerijn dk

      7302827




      7302827
























          2 Answers
          2






          active

          oldest

          votes


















          51














          You're looking for autocomplete-snippets.



          Simply type html and press Enter



          Here's a terrible GIF to prove it:



          enter image description here






          share|improve this answer


























          • wierd. thats not working for me. Ill try to reinstall!

            – Merijn dk
            Feb 20 '16 at 21:57











          • indeed works now

            – Merijn dk
            Feb 23 '16 at 15:04






          • 6





            Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

            – Kai Noack
            Oct 13 '16 at 6:43











          • I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

            – neuronet
            Oct 16 '17 at 13:30













          • Thanks. Works perfectly.

            – Arslan Ramay
            Nov 1 '17 at 10:27



















          1














          If you have disabled the autocomplete functionality mentioned in the currently accepted answer, or want more flexibility than that allows, there is a file-templates package:
          https://atom.io/packages/file-templates



          Here are some basic instructions.




          • To install the package: edit->preferences->install->file-templates.

          • To save the template: packages->new template from this file.

          • To open a new file with that template, just hit ctrl-alt-n and
            select it.






          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%2f35483313%2fatom-io-auto-create-html-basic-structure%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            51














            You're looking for autocomplete-snippets.



            Simply type html and press Enter



            Here's a terrible GIF to prove it:



            enter image description here






            share|improve this answer


























            • wierd. thats not working for me. Ill try to reinstall!

              – Merijn dk
              Feb 20 '16 at 21:57











            • indeed works now

              – Merijn dk
              Feb 23 '16 at 15:04






            • 6





              Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

              – Kai Noack
              Oct 13 '16 at 6:43











            • I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

              – neuronet
              Oct 16 '17 at 13:30













            • Thanks. Works perfectly.

              – Arslan Ramay
              Nov 1 '17 at 10:27
















            51














            You're looking for autocomplete-snippets.



            Simply type html and press Enter



            Here's a terrible GIF to prove it:



            enter image description here






            share|improve this answer


























            • wierd. thats not working for me. Ill try to reinstall!

              – Merijn dk
              Feb 20 '16 at 21:57











            • indeed works now

              – Merijn dk
              Feb 23 '16 at 15:04






            • 6





              Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

              – Kai Noack
              Oct 13 '16 at 6:43











            • I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

              – neuronet
              Oct 16 '17 at 13:30













            • Thanks. Works perfectly.

              – Arslan Ramay
              Nov 1 '17 at 10:27














            51












            51








            51







            You're looking for autocomplete-snippets.



            Simply type html and press Enter



            Here's a terrible GIF to prove it:



            enter image description here






            share|improve this answer















            You're looking for autocomplete-snippets.



            Simply type html and press Enter



            Here's a terrible GIF to prove it:



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 18 '16 at 18:49

























            answered Feb 18 '16 at 18:35









            HatchetHatchet

            4,04312534




            4,04312534













            • wierd. thats not working for me. Ill try to reinstall!

              – Merijn dk
              Feb 20 '16 at 21:57











            • indeed works now

              – Merijn dk
              Feb 23 '16 at 15:04






            • 6





              Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

              – Kai Noack
              Oct 13 '16 at 6:43











            • I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

              – neuronet
              Oct 16 '17 at 13:30













            • Thanks. Works perfectly.

              – Arslan Ramay
              Nov 1 '17 at 10:27



















            • wierd. thats not working for me. Ill try to reinstall!

              – Merijn dk
              Feb 20 '16 at 21:57











            • indeed works now

              – Merijn dk
              Feb 23 '16 at 15:04






            • 6





              Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

              – Kai Noack
              Oct 13 '16 at 6:43











            • I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

              – neuronet
              Oct 16 '17 at 13:30













            • Thanks. Works perfectly.

              – Arslan Ramay
              Nov 1 '17 at 10:27

















            wierd. thats not working for me. Ill try to reinstall!

            – Merijn dk
            Feb 20 '16 at 21:57





            wierd. thats not working for me. Ill try to reinstall!

            – Merijn dk
            Feb 20 '16 at 21:57













            indeed works now

            – Merijn dk
            Feb 23 '16 at 15:04





            indeed works now

            – Merijn dk
            Feb 23 '16 at 15:04




            6




            6





            Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

            – Kai Noack
            Oct 13 '16 at 6:43





            Package works, disabled, restarted, enabled. Plus you need to save the file as HTML or alike, only then html will trigger. It will not work in a blank document.

            – Kai Noack
            Oct 13 '16 at 6:43













            I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

            – neuronet
            Oct 16 '17 at 13:30







            I have disabled atom's autocomplete-snippets : that program is almost as annoying as that gif :-) . I put alternate answer using a package dedicated to document templates. This lets you have multiple templates for different projects too (e.g., vanilla html, django, etc), and more directly gets at the issue imho.

            – neuronet
            Oct 16 '17 at 13:30















            Thanks. Works perfectly.

            – Arslan Ramay
            Nov 1 '17 at 10:27





            Thanks. Works perfectly.

            – Arslan Ramay
            Nov 1 '17 at 10:27













            1














            If you have disabled the autocomplete functionality mentioned in the currently accepted answer, or want more flexibility than that allows, there is a file-templates package:
            https://atom.io/packages/file-templates



            Here are some basic instructions.




            • To install the package: edit->preferences->install->file-templates.

            • To save the template: packages->new template from this file.

            • To open a new file with that template, just hit ctrl-alt-n and
              select it.






            share|improve this answer




























              1














              If you have disabled the autocomplete functionality mentioned in the currently accepted answer, or want more flexibility than that allows, there is a file-templates package:
              https://atom.io/packages/file-templates



              Here are some basic instructions.




              • To install the package: edit->preferences->install->file-templates.

              • To save the template: packages->new template from this file.

              • To open a new file with that template, just hit ctrl-alt-n and
                select it.






              share|improve this answer


























                1












                1








                1







                If you have disabled the autocomplete functionality mentioned in the currently accepted answer, or want more flexibility than that allows, there is a file-templates package:
                https://atom.io/packages/file-templates



                Here are some basic instructions.




                • To install the package: edit->preferences->install->file-templates.

                • To save the template: packages->new template from this file.

                • To open a new file with that template, just hit ctrl-alt-n and
                  select it.






                share|improve this answer













                If you have disabled the autocomplete functionality mentioned in the currently accepted answer, or want more flexibility than that allows, there is a file-templates package:
                https://atom.io/packages/file-templates



                Here are some basic instructions.




                • To install the package: edit->preferences->install->file-templates.

                • To save the template: packages->new template from this file.

                • To open a new file with that template, just hit ctrl-alt-n and
                  select it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 16 '17 at 13:25









                neuronetneuronet

                1,91533175




                1,91533175






























                    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%2f35483313%2fatom-io-auto-create-html-basic-structure%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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?