Issue #82 (Drag Drop Selector)11/15/23
Learn AI in 5 Minutes a Day
We'll teach you how to save time and earn more with AI. Join 70,000+ free daily readers for trending tools, productivity-boosting prompts, the latest news, and more.
|
|
|
As you might already know, when you drag a file from the explorer in VS Code to one of your editors, you can hold the SHIFT key and this will cause the file to be dropped in as content into the existing file, rather than being opened in a new editor (the default behaviour).
Earlier this year, VS Code added the ability to choose what format the content is inserted as. So when you SHIFT-drop a file into an editor, you'll notice a little "Show drop options..." icon that appears next to the default content that's inserted.
In an HTML document, you'll have two options to choose from: "Insert Path" and "Insert Relative Path" (as shown above). In a Markdown document, it will of course default to inserting as Markdown, but you can also choose from the path and relative path options there too.
This icon, or control, only appears if there is more than one way to insert the content into the current file. For example, when I tried to insert into a JavaScript file, I did not get the icon. And if you happen to find this setting useless or annoying, you can disable the icon from ever appearing by changing the setting "editor.dropIntoEditor.showDropSelector" to "never" in your VS Code settings.
Now on to this week's hand-picked links!
|
|
VS Code Tools
|
GitPoet — A VS Code extension, powered by ChatGPT, that suggests accurate and meaningful commit messages based on your git diff.
Excalidraw — A VS Code extension that integrates Excalidraw, a popular virtual whiteboard for sketching hand-drawn-like diagrams.
AI is Getting Smarter. Are You? — AI won’t take your job. Someone using AI will. Best time to level up? Yesterday. Second best? Right now. Luckily, there’s Brilliant — the interactive app that makes it easy to master concepts in math, data, and computer science in just minutes a day. Sponsor
Kamara — A VS Code extension that adds AI features to your development, so you can use text prompts to instruct it on what to build for you.
VS Code Theme of the Week
|
One Hunter Theme — This is an extension that offers 8 different VS Code themes, both dark and light. The primary theme (shown below) has some bold syntax highlighting options. All the themes include support for front-end languages along with PHP, Python, Java, Go, Rust, and more.
The other variants included are called Material, Vercel, One Hunter Light, and four variations of a ported theme called Flexoki. I think you'll enjoy the options included in this package.
|
|
|
|
VS Code Articles & Videos
|
|
|
Best of the Rest
|
PMD — An extensible cross-language static code analyzer for Mac, Windowx, and Linux, with support for Java, JavaScript, Salesforce Apex and Visualforce, PLSQL, Apache Velocity, XML, and XSL.
Artistic Style — A source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective-C, C#, and Java programming languages.
If you have any link suggestions, including a tool, article, or other resources related to VS Code or another IDE, send it via DM on X: @LouisLazaris or just hit reply on this email.
That's it for this issue.
Happy VS Coding!
Louis
VSCode.Email
@LouisLazaris
|
|
|