buenon / scratchpads Goto Github PK
View Code? Open in Web Editor NEWScratchpads extension for Visual Studio Code
License: MIT License
Scratchpads extension for Visual Studio Code
License: MIT License
I'd like it if the new scratchpad I'm opening opens in a new tab to the side when I'm holding the SHIFT
button when pressing Enter
.
This would be the same behavior when opening (recent) windows. Holding shift when you click, opens in a new window.
Please add the ability to rename scratchpads.
When creating a new Scratchpad (selecting text, pressing F1, writing "Open Scratchpad", and pressing Return) there's no prompt asking for a format. I have a new file created in ".vscode/extensions/awesomektvn.scratchpad-0.1.0/" and called "scratchpad.txt"
When closing a scratchpad, there is no way to reopen it.
As long as scratchpads are not removed, one should be able to reopen them.
If not, has anybody forked it and adding more features to it?
When I try to run any of the commands in this extension I get an error like:
command 'scratchpads.openScratchpad' not found
So, the extension can't be used at all.
This is not an issue, but a feature wish.
It would be nice if you could rename the Scratchpads to make it easier to find them later. Especially if you have many Scratchpads, that would be very helpful.
Otherwise a great plugin. Thumbs up!
When performing an upgrade of the extension, the folder under the globalStoragePath is removed and all scratchpads are lost
It's a bit confusing that "Enter" and "Escape" do the same exact thing when the input is blank, and there's no hint that you can get an autogenerated name (for a moment, I thought the auto-incremental names were gone for good).
I think it'd be more intuitive if:
Can we have a setting to skip the feature altogether and revert to pre 0.0.8 behaviour?
"scratchpads.promptForFilename": false
This is a minor feature request that, IMHO, would improve developer experience. Here are steps to reproduce:
txt
Expected: the first result should be Text (.txt)
Actual: the first result is TEXI (.texi)
.txt
instead of txt
filters as expected.Considering the workarounds, these are minor inconveniences, but it adds up throughout the day. And for me at least, this is unexpected behavior.
All open typescript scratchpad's share the same namespace. This means they can read each other's variables. Defining x
in two typescript scratchpads results in an error because it's already defined in the other scratchpad. I would like each typescript scratchpad to have its own namespace. Or, in other words, I think each scratchpad should run in its own sandbox.
I don't think scratchpads worked this way in the past so I'm assuming this is a bug? If it is intentional behavior, I'm happy to provide reasons for my feature request.
const x = 1;
as its content.const x = 1;
as its content.Expected: Both scratchpad's exist without error
Actual: Both scratchpad's error:
Cannot redeclare block-scoped variable 'x'. ts(2451)
scratch34.ts(1, 7): 'x' was also declared here.
Note: Closing one of the two scratchpad's (or both) fixes the problem.
I just noticed that every time i write some temporary code in a scratch, they are saved to disk. This causes my Settings Sync extension to write these scratches to the web. Could there be a setting to never save the scratches to disk?
Cheers!
It would be useful to have the ability to change default location of scratchpads via the extension settings. This would help for running files via the integrated terminal
It'd be nice to be able to remove a single scratchpad instead of removing them all.
The extension currently maintains its own file types. It'd be nice if it could just reuse the file types that are already configured in the editor. The drop-down list could then look (be?) the same as Change Language Mode command.
(I've no idea if extension API allows it or not.)
I presume it's a leftover from some tests:
Directorio: C:\Users\alvaro\.vscode\extensions\buenon.scratchpads-0.0.3\scratchpads\afec1e30600b4ee898f7bf225c38ba44
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 15/07/2018 10:51 0 scratch.xml
-a---- 15/07/2018 10:51 0 scratch1.xml
-a---- 15/07/2018 10:51 0 scratch2.xml
-a---- 15/07/2018 10:51 0 scratch3.xml
-a---- 15/07/2018 10:51 5 scratch4.xml
-a---- 15/07/2018 10:51 0 scratch5.xml
-a---- 15/07/2018 10:51 0 scratch6.xml
The January 2019 release of Visual Studio Code introduces a new extension API that might be interesting for scrathpads:
An extension is now provided with a global storage path
ExtensionContext.globalStoragePath
that is pointing to a local directory with write/read access. This is a good option if you need to store large files that are accessible from all workspaces.
I'd like a way to use Deno (via their VSCode extension) for TypeScript files rather than the built-in Node.js based TypeScript editor support. Is this possible? Thank you.
I see little reason reason not to have as many (common) languages as possible thrown in there. The best thing to do would be to use VScode's built-in and user-defined language identifiers, but for simplicity one could just make sure that all of the languages in that list are represented in typesConfig.json
. If the "create new" and similar items were at the top of the list, it wouldn't matter how many or where the rest were as they could be searched for (although alphabetical would be nice if it wasn't going to order by frequency).
This should be very simple to do, I should be able to take a crack soon.
It would be nice to have a separate command to automatically open the latest scratchpad (without asking for which one to open).
This way, I could have something like ctrl+.
to open the latest scratchpad, ctrl+shift+.
to select which one to open, and ctrl+alt+.
to create a new one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.