Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 04 00:03
    Slluxx commented #256
  • Dec 03 19:26
    jedmao closed #256
  • Dec 03 19:26
    jedmao commented #256
  • Dec 03 09:40
    Slluxx opened #256
  • Nov 27 22:09
    rdumont opened #255
  • Nov 21 20:26
    jedmao closed #254
  • Nov 21 20:26
    jedmao commented #254
  • Nov 21 17:47
    deadlydog opened #254
  • Oct 29 03:43
    tjx666 opened #253
  • Oct 15 05:05
    jedmao closed #250
  • Oct 13 06:27
    jedmao closed #252
  • Oct 13 06:27
    jedmao commented #252
  • Oct 13 06:25

    jedmao on master

    v0.14.2: fix "File not found" i… (compare)

  • Oct 13 04:52
    SkyHeads commented #252
  • Oct 11 20:43
    jedmao labeled #252
  • Oct 11 20:43
    jedmao assigned #252
  • Oct 11 20:43
    jedmao commented #252
  • Oct 11 19:28
    ericis edited #252
  • Oct 11 19:27
    ericis edited #252
  • Oct 11 19:27
    ericis opened #252
Jed Mao
@jedmao
Yeah it might be more efficient in that way, but you can always if (!Object.keys(config).length) { return; }
Sam Verschueren
@SamVerschueren
Rommel Meza
@CXRom

Hi guys, i have some problems with vs code and c#

[*.{js, json, cs, htm, html, cshtml}]
indent_style = space
indent_size = 2

But i have problem with .cs the indent_size is not working if i formt the code always use 4 spaces

Sam Verschueren
@SamVerschueren
I believe spaces arent allowed in the extension list
Try this
[*.{js,json,cs,htm,html,cshtml}]
indent_style = space
indent_size = 2
You’ll notice that the setting in your .cs file is now Spaces: 2
In the bottom right corner
Screen Shot 2016-09-28 at 08.36.32.png
At least, it should be :)
Chaz Gatian
@cgatian
Quick Noob question. Everytime I open a file with this extension enabled the file says its modified it git. However, there are no changes. If I commit the changes, and reopen the file, the file is again modified.
Chaz Gatian
@cgatian
Got it, I think my files are setup for CRLF and editor config is set to LF
Armin Naderi
@naderi_armin_twitter
I installed the extension, do I have to create .editorconfig manually? Will the plugin automatically populate the file?
Assaf
@assaftenen
is it an good extension that does what F12 do in webstorm, I mean help you navigate inside your file shows U the mathod list for e.g?
Scott Spence
@spences10
Will this and JS standard play nicely together?
Hi all btw :wave:
Sam Verschueren
@SamVerschueren
@naderi_armin_twitter Yes you will have to create it yourself. You can however generate a default one by opening the command pallette and select EditorConfig: Generate
@assaftenen Not sure what you mean
@spences10 The only thing EditorConfig does is make sure some config is set correctly like indentation (tabs vs spaces), indentation size, line endings
A linter like ESLint or Standard is totally seperate from this
If you choose for tabs in EditorConfig, and in your linter you also configure that it needs tabs, then yes it will work
But you can totally set EditorConfig to tabs and your linter to spaces because it’s a total different thing
It enforces consistency between your text editors and between the text editors of your team
You don’t want one team member to configure its editor to use spaces while everyone else is using tabs
Scott Spence
@spences10
@SamVerschueren thanks for the explanation :+1: so if I have my VSCode set up to use 2 spaces for tabs and .editorconfig is different which one will be overridden?
Jed Mao
@jedmao
EditorConfig should override your default settings.
@spences10 :point_up:
@SamVerschueren it looks like the detect indentation piece is broken in 0.4.0, according to the broken test.
You mind looking into it?
My entire day was consumed w/ this 0.4.0 release.
I need to do my actual job lol.
Aliaksei Kuncevič
@kuncevic
I have such folders structure:
blob.png

my .editorconfig

# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false

for some reason vscode not picking up the ident_size
just keeping 4 instead of 2
tried to put .editorconfig in different folders, didn't work either

John Meyer
@af4jm

I'm seeing an issue, but I'm not sure if it's a bug or a plugin limitation. Here's the relevant excerpt from .editorconfig...

[*]
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

In Markdown files it's still trimming trailing whitespace, I even tried putting .editorconfig in the same folder as the .md file, and opening that folder in VSCode. It still trims trailing whitespace (which can be significant in Markdown).

Thanks!

Luzanov Pavel
@gitpash
Hi to everyone, I've just add .editorconfig to my project and realised that pre-commit hooks(we use husky and have linting and code coverage) don't triggered by git commit anymore. I'd try to modify .editorconfig file, delete it, restart, rerun the editor - with no luck. I can manually run pre-commit - it works fine. Do somebody have same issue?
Luzanov Pavel
@gitpash
Nevermind, already find the issue.
radharajendran
@radharajendran
Hi
I installed Editor config extension
and node module too
How to use it ?
any other thing have to do ?
have .editorconfig file too
Roge
@RogeMateos
hello i installed editor config in visual studio but i cant see any changes
Roge
@RogeMateos
i created a file
but it doesnt look to get the configuration
Neeraj Aggarwal
@neeradge
dont know if this is the right place but when I code in Javascript in VSCode, the second I type something, all hell breaks loose. I am editing my code, before I can terminate the string message, the Cursor goes to the start of line.
When I start typing on a new line, cursor runs off on top
DanSam5K
@DanSam5K
after installation can't see any notable changes. but its confirm that is installed. So i just hit the save button!
joann saeou
@joannsaeou

hi guys, i have trouble understanding where to look up the setup for

charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

im on the VS studio code, and i have the editorconfig extension but i cant seem to find the file to change the format?