code-snippets Questions

6

Solved

I find myself doing a ton of jQuery these days, so I started to abstract out some of the common things I do into snippets. I look forward to sharing these with the community, but I'm running into a...
Watchword asked 9/7, 2010 at 18:59

5

Solved

As I know , personal data always be saved at profile path which can be find at chrome://version. I added many snippets in my Chrome Dev Tool, and want to backup them . But I cann't find a file th...
Might asked 26/9, 2013 at 10:28

1

Solved

My code snippets is; "echo": { "prefix": "echo", "body": [ "echo \"\";" ], "description": "a" } How I get cur...
Bahrain asked 20/7, 2020 at 13:59

2

Solved

I know where the system default snippets are, but my two new ones cannot be found. Basically, I want to add in my collection of previous snippets. I made two new ones just to be able to find them. ...
Gail asked 28/1, 2015 at 15:3

4

Solved

I'm using Visual Studio 2017 Enterprise, Version 15.3.3 I looks like IntelliSense has some new features for code completion. On of this feature is, that a field name is automatically suggested whe...

3

Solved

I am not looking for a snippet that creates a method or function, I want a snippet that inserts the name of the method/function automatically. Precisely, I would like something like this: consol...
Nicolella asked 20/2, 2018 at 21:16

1

Solved

I would like to have the following feature on VSCode and I don't know if it is possible. For example, if I have this line : I would like to emphasize this. I would just select this, clic on a sh...
Albertalberta asked 16/3, 2020 at 0:35

3

Solved

I'm looking to write a yasnippet template that would allow me to add a license header to a script buffer in Emacs. Kinda like this, but a bit improved: The header needs to include per-user data, ...
Caracara asked 30/12, 2010 at 15:22

3

Solved

I want to create some snippets when writting c++. for example: create a file, cpp.snippets. priority -1 snippet exam This is an example! endsnippet and put it in ~/.vim/my-snippets/snippets/. t...
Desecrate asked 22/8, 2015 at 13:45

2

Solved

I have this: ${1/([A-Z]*)(?:_)([A-Z]+)*/${1:/downcase}${2:/downcase}/g} How to make use downcase and capitalize on the same (2) group? ${1/([A-Z]*)(?:_)([A-Z]+)*/${1:/downcase}${2:/downcase/cap...
Cortes asked 10/7, 2018 at 19:43

0

The Goal Write codenippet which produces this result: .Select(k => new { }) The test snippet body <Header> <Title>SelectAnonymous</Title> <Shortcut>selectAnonymous&l...
Radloff asked 4/12, 2019 at 12:56

1

I have the following user snippet: { /* // Place your snippets for JavaScript React here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is w...
Fairly asked 21/9, 2017 at 13:23

8

Solved

How ??? I can not delete a custom code snippet in Xcode.
Simonsen asked 7/5, 2011 at 19:31

17

Solved

What is the code snippet or shortcut for creating a constructor in Visual Studio? Visual Studio 2010 and C#.
Lugubrious asked 6/10, 2010 at 14:42

2

I'm wondering if I can refer to another snippet within a snippet in VSCode user defined snippet. Say I have "Test1": { "prefix": "snippet_test1", "body": "something" } and is there a way to...
Clipper asked 25/10, 2019 at 22:14

1

I wanted to know if it is possible to trigger a user defined custom snippet when I create a file in vscode. I started learning Golang recently and noticed that there is some boilerplate code that ...
Illustration asked 10/4, 2019 at 13:55

1

Solved

Problem: Usually, if you want to save your code as a snippet, you have to open some xml template, investigate tags etc. Reference Is it possible to simplify this process as much as possible: i.e. ...
Alleyway asked 14/10, 2019 at 9:1

2

Solved

In official vscode documentation i have seen that is possible to create custom snippets for each language. https://code.visualstudio.com/Docs/customization/userdefinedsnippets Ex. (languageId).jso...
Algetic asked 2/12, 2016 at 15:31

1

Solved

I am new to VSCode. Thinking about code snippets, I looked around for a way to kind of script inside the snippet. I mean to do more than just fill or transform a variable. For example... This is a...
Hoopen asked 3/10, 2019 at 18:47

0

I am writing a code snippet in Visual Studio Code, and I need that the snippet will import libraries if they are not already imported. A simple example: I want to create a snippet in Java that wil...
Hurryscurry asked 7/9, 2019 at 9:18

1

Solved

So when I create a class for example in visual studio code, I can do it all manual and then code completion works just fine see image below: So in the image above I have typed all the code...
Daubigny asked 6/9, 2019 at 19:37

3

Solved

Is there any way to add XAML snippets for XAML editor in Visual Studio 2010? For example I'd like to save my self from some typing and have something like this: snippet: gr<TAB> generates ...
Silky asked 26/4, 2012 at 20:41

7

Solved

I have seen in videos, that people get html template by typing "html:5" or something like that (btw, they're not using notepad++). Is this possible in notepad++? Thanks.
Danialdaniala asked 1/5, 2010 at 11:35

1

Fluent design by Microsoft are basically guidelines to design apps but they also include code snippets and tools on how to achieve them in UWP apps. A lot of tools and snippets are available for UW...
Thorlie asked 25/4, 2018 at 8:27

3

Is there any way to manage code snippets with backup for the database and code highlighting in Notepad++?
Friesen asked 28/2, 2011 at 20:27

© 2022 - 2024 — McMap. All rights reserved.