Comments (4)
@t7yang thanks for your feedback. I am planning on prioritizing these issues.
from dprint-vscode.
@dsherret Any update on this feature request?
I'm definitely holding back from switching to dprint because it obligates me to add a config file to each project I'm starting, which can actually be pretty annoying if I'm trying to modify someone else's repo or write some quick script.
The formatter itself already has defaults, I don't understand why the plugins can't be available by default as well.
from dprint-vscode.
The main barrier for me to replace prettier is the extension can not work without a config file.
With prettier vscode extension, I can open any file or create an untitle file, write something and format the content which dprint extension could not provide.
from dprint-vscode.
As discussed in dprint/dprint#413 a temporary fix could be to pass --config
to dprint
. Would it be a good idea to add a setting for this extension to allow arguments to be passed to dprint
, such as: --config https://raw.githubusercontent.com/dprint/dprint/main/dprint.json
. However, this wouldn't be a great fix as you would no longer inherit project specific configuration.
from dprint-vscode.
Related Issues (20)
- rg/ripgrep when searching for config file causes excessive CPU usage on startup HOT 3
- Add tests for opening a descendant directory of a folder with a config file
- Configure default formatter for TypeScript React HOT 1
- Support "dprint" task in deno.json
- fails to format when config file in sub folder and has a relative includes glob HOT 6
- Ignore searching the target folder in rust projects
- Feature request: Add an option to configure a custom location for .dprint.json HOT 7
- don't focus outputChannel on errors HOT 2
- Format selection does not consider dprint a valid formatter
- Rename Dprint: Reset to Dprint: Restart
- Lazily initialize sub configurations HOT 1
- Bug: v0.15.1 stopped working HOT 2
- The path of "includes" should be relative from dprint.json
- Log when no configuration file found HOT 1
- dprint-ignore comments ignored by vscode plugin but honoured when running the dprint cli directly HOT 2
- dprint.experimentalLsp prevents config schema from being loaded HOT 1
- Diagnostics in the IDE HOT 3
- Error starting LSP server when folder without installed dprint is opened HOT 1
- The formatter stopped formatting files when saving HOT 1
- `dprint.json` file is ignored HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dprint-vscode.