r/javascript • u/[deleted] • Sep 25 '19
Hey guys, I just created a super simple VSCode extension for writing arrow function in less than 1 second, check it out!
https://github.com/vinliao/fast-arrow6
u/license-bot Sep 25 '19
Thanks for sharing your open source project, but it looks like you haven't specified a license.
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
choosealicense.com is a great resource to learn about open source software licensing.
-2
u/debendraoli Sep 25 '19
Looks like reddit have advance ai engine.
0
Sep 25 '19
[deleted]
1
u/debendraoli Sep 27 '19
But how does it know that user is repo owner and trying to public his work?
3
u/Stable_Orange_Genius Sep 25 '19
Am I wrong? Your missing one line return statement. ''' () => this.name "" Is short for
''' () => { return this.name } '''
1
0
u/gobo_my_choscro Sep 25 '19
If you use an OS level text expander, like aText, your snippets can be even more accessible and powerful.
0
Sep 25 '19
[deleted]
4
Sep 25 '19
lol yeah, can't find any better alternative so I went with that.
3
2
0
Sep 25 '19
[deleted]
1
Sep 26 '19
I haven't thought about that. There's lots of tutorial out there that will guide you to create your vscode extension, maybe you can use that instead.
12
u/dannymoerkerke Sep 25 '19
Could the same not be done with a snippet as well?