For issues relating to the creation, use, and maintenance of code snippets.

learn more… | top users | synonyms (5)

0
votes
0answers
15 views

Adding Ascii characters to a code snippet

I'm trying to write a code snippet for Visual Studio 2012 that will include an ascii character in it. Coincidentally, I've never dealt with XML before, so I'm pretty shaky about the whole process in ...
0
votes
0answers
7 views

Importing SvsServiceProvider in VS 2012

I am new to Visual Studio Extensibility and am try to implement one of the Microsoft Walkthroughs from the VS 2012 SDK (Displaying Statement Complete). I am having some difficulty with one class in ...
0
votes
2answers
34 views

How to trigger 404 in snippet when the required topic not found?

This is a lift webapp, visitor can view a topic by such url: http://test.com/topic?id=12332 There is a topic.html and a TopicSnippet for it. I get the id in the snippet: class TopicSnippet { ...
1
vote
0answers
3 views

rich snippets and breadcrumbs-where to put them

....where do I put them in my blogger template ? Lots of blog posts tell you how to create rich snippets and none of them explain where you actually place them. I assumed they went in the but every ...
0
votes
0answers
14 views

Default .snippet Files

I am trying to edit the default snippet file that Microsoft created, where if you type "+= [Event Handler Method]; + TAB" it creates the stub for that event handler. Currently, the snippet creates a ...
1
vote
0answers
10 views

Visual Studio code snippets and properties

I've just decided that using a code snippet would be quicker for me that to rewrite the same markup over and over. I've created my snippet with the expectation that I could just tell it "put the ...
0
votes
1answer
10 views

Geany editor snippet for getting literal %cursor%

I write a lot of Geany snippets. I would like to add a snippet for %cursor% when writing snippets. I added this in the [Default] snippets: cur=%cursor% Problem being that will evaluate to placing ...
0
votes
0answers
21 views

XCode snippet with automatically generated date and correct tabs

I've got a question regarding code snippets in XCode. I'm using them a lot, but there are 2 things that bother me since using them: How can I add a placeholder for an automatically generated date? ...
-1
votes
0answers
19 views

line numbers in code snippets not to be copied [closed]

While copying a code snippet from some sites and pdf,docs line numbers are also getting copied.I have to omit those line numbers in my text editor manually always. Any better way so that line numbers ...
-4
votes
1answer
17 views

how to develope a code snippets website with demos [closed]

What should i need to make my website show code snippets and a demo for that code snippet; I have tried a lot of syntax highlighter like snippet, syntax highlighter etc but not all these are working ...
0
votes
1answer
40 views

VisualStudio can't recognize my snippets when the code uses html tags

When I use "< a > < ! [ CDATA[]]> < / a >.Value" anywhere in my code and then I try to export and later import as Snippet then VisualStudio can't recognize the snippet because the tags are in ...
2
votes
6answers
51 views

How to add html code into html?

Right now I am creating a website that will teach people HTML and CSS. Everything is fine about the design except for one thing. I do not know how to type HTML code snippets into HTML code (this ...
0
votes
1answer
19 views

Why the code in a pre tag which is inside a table cell look terrible?

I have tried to use html to make my own quick reference to different programming language, in the reference I tried to put the code snippet inside a pre tag which is inside a cell tag. First, html ...
0
votes
0answers
47 views

Setup 5 star ratings and rich snippets in an HTML page

I have some HTML website I want to add 5 star ratings to it and also use rich snippets reviews to display it in the google results. The pages I want to use it are html pages and cant change them to ...
0
votes
1answer
111 views

Custom JavaScript snippets for emmet (in Sublime Text 2)

I am trying to add some custom javascript snippets and abbreviations to the snippets.json file of Emmet, but I can't get it to work! (I am using Sublime Text 2.) If I put this into the end of the ...

1 2 3 4 5 42
15 30 50 per page