Comments (3)
I've thought about something like this, but I'm not sure if your use case is the same as mine. I sometimes write my own notes, todo files, build configs, etc. in git repo directories and they're always matched by the [*]
rule, even though they're never intended to be checked into the repo.
I'm thinking of adding something like this to my editorconfig implementation (and possibly contributing it to editorconfig-core-c
too). A more complete description of your use case would help inform what the implementation should look like.
from editorconfig-core-c.
@craigbarnes The idea here is that the organization has a format that would be in a base config to force all of the code into the same format. However, some people like to view their code slightly different than the format provided by the base config. This config we would not want to be added to any kind of repo to prevent user specific settings from being distributed to the rest of the organization.
from editorconfig-core-c.
some people like to view their code slightly different than the format provided by the base config
Slightly different how? With different indent settings?
The implementation I had in mind was to allow a second config file in each directory that would take precedence over .editorconfig
. It'd be exactly equivalent to just appending the contents to the bottom of .editorconfig
, but with the benefit of not changing the git index if .editorconfig
is a tracked file.
The only way I could see it working for your use case though, is if the base config and your overrides both agree on using indent_style = tab
and you only want to change the display width of tabs (tab_width
).
from editorconfig-core-c.
Related Issues (20)
- Bug: Star is not treated as a literal character inside brackets HOT 4
- Bug: 0 is not considered a valid number for {num1..num2} HOT 2
- Please keep CHANGELOG up-to-date for easier downstream parsing HOT 1
- Brace pairing check in ec_glob.c incorrect? HOT 8
- Unchecked malloc return value
- Header files define reserved identifiers
- Usage of atoi() invokes undefined behaviour on integer overflow
- .editorconfig files with syntax errors can cause property lookup to fail, even if the file is in a directory beneath the "root" config HOT 2
- Clarify dependencies
- Glob: Handling of `?` HOT 7
- Chocolatey package is out of date
- Segfault while reading .editorconfig generated by JetBrains IDE HOT 9
- `editorconfig_parse()` leaks memory when no `.editorconfig` files are found or there are no values HOT 1
- 0.12.5: BUILD_STATICALLY_LINKED_EXE=OFF and static library is build and installed HOT 3
- Unexpected behavior on trailing slash HOT 1
- flatpak-builder: 'submodule' is not a git command HOT 1
- Missing MIT license text for CMake_Modules/FindPCRE2.cmake HOT 1
- Path to using a system copy of inih? HOT 2
- Not passing -vsver to subsequent calls of build.ps1
- Path splitting algorithm isn't UNC-aware
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 editorconfig-core-c.