Giter Club home page Giter Club logo

vscode-snippet-creator's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on experimentation platform at Wolt.
  • ๐Ÿ’ฌ You can ask me about Python and Backend.
  • ๐Ÿ“ซ Reach me by email: nik.kunevich at gmail.com or tg: @nikitaKunevich

vscode-snippet-creator's People

Contributors

nikitakunevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-snippet-creator's Issues

Fails to find the snippets preferences file

shell.ts:541 ENOENT: no such file or directory, open '/Users/chadmeadowsLibrary/Preference/Code/User/snippets/javascript.json': Error: ENOENT: no such file or directory, open '/Users/chadmeadowsLibrary/Preference/Code/User/snippets/javascript.json'

There should be a '/' between 'chadmeadows' and 'Library'

Cannot create snippet

Issue Type: Performance Issue

Cannot create snippet from empty string. Select some text first.

Extension version: 0.0.5
VS Code version: Code 1.29.1

Support code-insiders

Hey there, thanks for creating this library!

I had an issue with this library when using the code-insiders (beta) version. It turned out that the path was off. Not exactly sure how to generalize this, but the fix was:

case 'Darwin': {
    vsCodeUserSettingsPath =
        process.env.HOME +
---        '/Library/Application Support/Code/User/'
+++        '/Library/Application Support/Code - Insiders/User/'
    break
}

Cannot create javascript snippets

I'm not able to create snippets for javascript language. After filling all the details it doesn't get added in "javascript.json". For other languages it is fine.

All the sudden it's not working!?

I am new to VS Code. I installed this extension and created a few snippets for PHP and HTML. It's very nice.

But start from yesterday, all the sudden, I use the same steps from "Create Snippets" command but it creates nothing!?

I tried to reload ext., reinstall ext., restart VS Code. The "Create Snippets" command still creates nothing? Is there anything I did wrong that caused the problem?

tab escape

Doesn't seem to handle tab indentation properly. E.g. Highlighting code with tabs (\t) gets translated to \\t within the snippet. Thus, when using the snippet, it isn't creating a literal tab, but rather an escaped \t.

On Right Click No "Create Snippet"

As the title says when I have selected the code I want to turn into a snippet the "Create Snippet" command is not there on right click!, any idea wh this is hapening?.

I'm using Windows & the latest version of VSCode at the moment (1.21.1) if that will help.

Cancel snippet creation

Hi,

hitting ESC while in a input box doens't cancel the snippet creation.
Instead it creates a broken snippet. Depending on where you canceled the creation it's missing different fields.

Doesn't translate Powershell variable properly ($)

When creating Powershell snippits it will not repleace single $ with double $.
Variables are definded in powershell with a $. VSC Snippets will remove single $.
example:

"test": {
		"prefix": "test",
		"body": [
			"$variable = \"TEST\""
		],
		"description": "test"
	}

should be "$$variable = \"TEST\""

Blade snippets are not being saved

Hello,

I tried creating a blade snippet as below.

@extends('layouts.app')

@section('head')

@append

@section('content')

	<div class="m-subheader ">
		<div class="d-flex align-items-center">
			<div class="mr-auto">
				<h3 class="m-subheader__title ">
					
				</h3>
			</div>
		</div>
	</div>
	<div class="m-content">

	</div>


@append

@section('scripts')

@append

This is not getting saved in blade.php

But when I try to create without the inner HTML, it is getting saved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.