On Sun, Oct 30, 2011 at 1:33 AM, Narendra Sisodiya <[email protected]> wrote: > Here is a small project. > its a shortcut keyboard for coding HTML (and other languages)
> if you #script then it will type > <script type="text/javascript" > src="http://code.jquery.com/jquery-1.6.4.min.js"></script> > > > I need someone to write various coding snippets which I can add to > keyboard configuration file. > Hey Narendra, I can see how what your project is useful. It also reminds me of an existing plugin in gedit called snippets [1] (I have it installed but I don't know if I needed to install it separately or if it came with the default installation). You can get ideas for coding snippets there. They have an shortcuts for HTML among many other languages. Also, I would suggest that in a generic tag called "#script", you don't link to the jquery source file. For example, how about something like the following? #script --> <script type="text/javascript" src=""></script> #jqueryurl --> http://code.jquery.com/jquery-1.6.4.min.js Anyways, good work! Sharad [1] http://live.gnome.org/Gedit/Plugins/Snippets -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
