All Projects → patbenatar → vscode-advanced-new-file

patbenatar / vscode-advanced-new-file

Licence: MIT license
Create files anywhere in your workspace from the keyboard

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to vscode-advanced-new-file

angular-devtools
Moved to the Angular organization.
Stars: ✭ 261 (+283.82%)
Mutual labels:  devtools
devtools-examples
Code examples that accompany the MDN Firefox Developer Tools documentation
Stars: ✭ 22 (-67.65%)
Mutual labels:  devtools
react-render-tracker
React render tracker – a tool to discover performance issues related to unintentional re-renders and unmounts
Stars: ✭ 1,954 (+2773.53%)
Mutual labels:  devtools
rust-cdp
🔨 Chrome DevTools Protocol toolkit for Rust
Stars: ✭ 25 (-63.24%)
Mutual labels:  devtools
dots
Minimalist developer setup
Stars: ✭ 38 (-44.12%)
Mutual labels:  devtools
Fiddler-FPlug
Fiddler Plug,Provide Host Mapping、File Mapping、Header Replace、Https to Http、ServerIP、Disable Cache、vConsole、Console Log、JS Inject
Stars: ✭ 30 (-55.88%)
Mutual labels:  devtools
nuxeo-tools-docker
Various Docker files used at Nuxeo
Stars: ✭ 16 (-76.47%)
Mutual labels:  devtools
hanzo
Ansible orchestration to configure a development environment -
Stars: ✭ 22 (-67.65%)
Mutual labels:  devtools
netlogs
Web extension for debugging your API
Stars: ✭ 16 (-76.47%)
Mutual labels:  devtools
nanoinit
A small, proper, init process for docker containers.
Stars: ✭ 43 (-36.76%)
Mutual labels:  devtools
sfcc-devtools
Support Browser Interaction with VS Code, Eclipse, and SFCC Business Manager via DevTools Web Inspector.
Stars: ✭ 5 (-92.65%)
Mutual labels:  devtools
mobx-react-form-devtools
DevTools for MobX React Form
Stars: ✭ 30 (-55.88%)
Mutual labels:  devtools
flipper-plugin-relay-devtools
Flipper plugin for Relay devtools
Stars: ✭ 26 (-61.76%)
Mutual labels:  devtools
azure-cli-dev-tools
Developer utilities for Azure CLI command module and extension developers.
Stars: ✭ 62 (-8.82%)
Mutual labels:  devtools
mdebug
基于React开发的新一代web调试工具,支持React组件调试,类似于Chrome Devtools。A Lightweight, Easy To Extend Web Debugging Tool Build With React
Stars: ✭ 237 (+248.53%)
Mutual labels:  devtools
nanobox-engine-php
Engine for running PHP apps on Nanobox
Stars: ✭ 20 (-70.59%)
Mutual labels:  devtools
exlcode
EXLcode - VS Code-based Online IDE
Stars: ✭ 42 (-38.24%)
Mutual labels:  devtools
linkedin connect
Configurable and easy to use LinkedIn tool to automate connections with personalized messages.
Stars: ✭ 58 (-14.71%)
Mutual labels:  devtools
wurl
WebSocket curl - The WebSocket CLI for developers
Stars: ✭ 21 (-69.12%)
Mutual labels:  devtools
useful-forks.github.io
Improving GitHub's Forks list discoverability through automatic filtering. The project offers an online tool and a Chrome extension.
Stars: ✭ 917 (+1248.53%)
Mutual labels:  devtools

VSCode Advanced New File

Travis AppVeyor

Inspired by Sublime's AdvancedNewFile plugin, this adds the ability to create files anywhere in your workspace.

Demo

Features

  • Fuzzy-matching autocomplete to create new file relative to existing path (thanks to JoeNg93 for making it faster)
  • Create new directories while creating a new file
  • Create a directory instead of a file by suffixing the file path with / as in somedirectory/ to create the directory (thanks to maximilianschmitt)
  • Ignores gitignored and workspace files.exclude settings.
  • Additional option of adding advancedNewFile.exclude settings to workspace settings just like native files.exlude except it explicitly effects AdvancedNewFile plugin only. (thanks to Kaffiend)
  • Control the order of top convenient options ("last selection", "current file", etc) via config setting advancedNewFile.convenienceOptions
  • Brace expansion - expand braces into multiple files. Entering index.{html,css} will create and open index.html and index.css. (thanks to chuckhendo and timlogemann)

Configuration Example

"advancedNewFile.exclude": {
  "node_modules": true,
  "node_modules_electron": true,
  "dev": true,
  "dist": true
},
"advancedNewFile.showInformationMessages": true,
"advancedNewFile.convenienceOptions": ["last", "current", "root"],
"advancedNewFile.expandBraces": false

Usage

  • Command palette: "Advanced New File"
  • Keyboard shortcut: cmd+alt+n (Mac), ctrl+alt+n (Win, Linux)

Keybindings

You can add your own keybinding in your keybindings.json

{
  "key": "ctrl+n", // "cmd+n" on mac
  "command": "extension.advancedNewFile",
}

Notes

Because VSCode extensions don't yet have the ability to do type-ahead autocomplete within the text input box (See microsoft/vscode#426), we work around this limitation and provide autocomplete using a two-step workflow of selecting existing path, then providing new filename/path relative to the selection.

If you encounter an error on Mac or Linux check for broken symlinks with: find . -xtype l

Contributing

  1. Clone the repo
  2. $ npm install
  3. Add your feature or fix (in src/) with test coverage (in test/)
  4. Launch the extension and do some manual QA (via Debug > Launch Extension)
  5. Run the tests (via Debug > Launch Tests)
  6. Run the linter: npm run lint
  7. Open a PR

Publishing

OpenVSX

Change the publisher in package.json to giantcola, then run:

docker-compose run plugin ./node_modules/.bin/ovsx publish -p [token]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].