Thursday, June 13, 2013
How to Make Code Snippets Shorten Programming Time
Microsoft Visual Studio 2010
1. Click on the 'Tools' drop-down menu.
2. Click on 'Code Snippets Manager.'
3. Click on 'Code Editor.'
4. Select the destination folder into which you want to import your snippet.
5. Click 'Import' to open the 'Code Snippets Directory' window.
6. Select the snippet file for addition to the 'Code Snippets Manager.'
7. Click 'OK.' The snippet can now be inserted into the code editor.
Visual BASIC Additions
8. Click on 'Code Snippets Schema' (See References).
9. Click on your desired snippet of schema elements from the 'Element' column.
10. Highlight the snippet programming language using your mouse.
11. Click on 'Copy' by right clicking your mouse.
12. Open Microsoft Visual Studio.
13. Click on 'Code Snippets Manager.'
14. Put the cursor where you want to insert the code snippet.
15. Point to 'IntelliSense' from the 'Edit' menu.
16. Click 'Insert Snippet.'
Mozilla Snippets
17. Open the Mozilla code editing application.
18. Open the code folder containing the snippet language you wish to modify.
19. Click on 'Code Snippets' (MDN in References).
20. Click the hyperlink for the section that contains your desired MDN snippet.
21. Highlight the snippet code with your mouse (line numbers identify the code).
22. Click on 'Paste' by right clicking your mouse.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment