Multiple snippets in one file sublime text 2 - html

Is it possible to have multiple custom snippets in one file using sublime text 2?
Currently you have to create individual files for each snippet.

You can create a *.sublime-completions file. For information on how to do this, see here and here.

Related

how to change the default text when creating a new html file in eclipse?

When I create a eclipse file rightClick on project ->new-> html file then ,the eclipse creates a file without any indentations which is a silly problem. But I'm now practicing jsp and have to create as many as 40 files so I think it's time waste to correct indentations each time. Anybody please help me how to change the default text...For further clarity I have attached the image...Here is the image...
If you go to the second page of the New HTML File or New JSP File wizards, you will see options for what the contents will be. There is also a link to the corresponding editor's Templates preference page, below the preview pane, where you can modify the provided options (such as to modify the formatting or add a copyright header) or make new options of your own.
The "new file" templates are also offered through Content Assist on empty files.

How to Edit HTML file?

I am new to coding. I am making a quiz maker and I was wondering how can I edit a file using code so like :
They write the question name and it edits the file quiz1/quiz.html and change the question code
If you create a new html file everytime that someone need it, you will have a lot of html files and it is not recommendable.
I would have a single html file and, in this file, call the questions in a form with PHP. This questions and answers could be saved in a MySQL Database easily.
This video is an example that how you could do it. In the same way, you could develop it with others languages like java, python, js, etc.
https://www.youtube.com/watch?v=i0yamXyN4wM
I hope this could be helpful!
Open the file in notepad or another text editor. You can change the code and save.
Alternatively you need to use a code editor such as PHP storm, Notepad++, Sublime Text 3, etc.

HTML text style shortcuts functioning within Github repository file edits?

I am just starting to learn Javascript, and I have a small question about editing files within a Github repository.
I am writing functions within a file in my repository that involve mathematical equations, and I am finding that within the editor itself, it is changing the style of the text based on common HTML shortcuts. In my case, whenever I use the asterisk key, *, to multiply values, the editor file will show all text between two consecutive asterisks in italics. It doesn't change the nature of the code itself at all, so it's just a QOL issue for me personally. It's just strange to see blocks of my code appearing italicized within the editor.
Is there any way to have HTML not try and parse such characters as text style shortcuts within the Github repository file editor?
Use .js file extension for Javascript code.
In README.md file put basic description for your project. Basic guid how to write README.md

Sublime Text Multiple Files Hint

I'm using Sublime Text as My Editor, Sublime Text Doesn't allow auto-complete or code hints between multiple files, instead you get hints for functions or variables that are located in the same file your working on. How can i get code hints of a function that is located in another file?
Thanks.
This package is what you are looking for I guess: https://sublime.wbond.net/packages/All%20Autocomplete

Showing reSturctured text (.rst) structure overview in Sublime Text

Sublime Text 2 only has an additional side bar window, but it's inconvenient with bigger file, such as reStructuredText file with lots of contents.
So is there a plugin to show file structure in Sublime Text (haven't Google out so far), or it is possible to create a plugin to show the file structure?
Thanks!
There is no such plugin as far as I know.
For your code files you can see the structure in Go to Symbol menu (CMD+R on OSX)
if the files are supported by Sublime Text. SublimeCodeIntel provides "code intel" support for many programming languages.
Sublime Text did not have a decent .RST structure parser last time I checked few months ago, but I would be really grateful if someone creates such plugin (willing to donate).
You can create syntax colorizer with the base Sublime Text (no Python coding needed), but for language analysis a full fetched plugin is required. I suggest you open another question for how to write such plugins.