Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 11 09:59
    JRHuasi opened #314
  • Jun 09 01:36
    applevinc closed #302
  • Jun 09 01:36
    applevinc commented #302
  • Jun 09 01:36
    applevinc commented #302
  • Jun 09 01:16
    nrayburn-tech commented #302
  • Jun 09 01:05
    nrayburn-tech synchronize #312
  • Jun 09 01:00
    nrayburn-tech synchronize #312
  • Jun 09 00:27
    nrayburn-tech synchronize #312
  • Jun 08 22:26

    nrayburn-tech on master

    update version and changelog (#… (compare)

  • Jun 08 22:26
    nrayburn-tech closed #313
  • Jun 08 22:21
    nrayburn-tech synchronize #313
  • Jun 08 22:20
    nrayburn-tech opened #313
  • Jun 08 22:07
    nrayburn-tech commented #310
  • Jun 08 21:58

    nrayburn-tech on master

    apply options on file when relo… Merge branch 'master' into fix-… Merge pull request #310 from nr… (compare)

  • Jun 08 21:58
    nrayburn-tech closed #310
  • Jun 08 21:58
    nrayburn-tech closed #283
  • Jun 08 21:54
    nrayburn-tech synchronize #310
  • Jun 08 02:40
    nrayburn-tech edited #312
  • Jun 08 02:31
    nrayburn-tech synchronize #312
  • Jun 08 02:10

    nrayburn-tech on master

    change activation event to onSt… Merge pull request #309 from nr… (compare)

Sam Verschueren
@SamVerschueren
[*.{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?

Robin Munn
@rmunn
@joannsaeou It should be a file called .editorconfig (nothing before the dot), probably at the root of your repo. If you're using Linux or OS X and you can't see that file, you might need to turn on a "show hidden files" setting in your file explorer program (i.e., Finder in OS X). I don't know what app you're using so I can't tell you the shortcut key in your particular app, but in the one I use it's Ctrl-H.
Joe23232
@Joe23232

Hi, I find this extension to be very interesting and exciting but I do have some questions.

  1. Am I able to format the Rust programming langauge?
  2. Are there any docs in regarding how to format Rust?
  3. Am I able to format my Rust code where it adds extra spacing after the variable structure name and it aligns everything together while adding a : right before specifying the variable data type, for example:
struct Color
{
    red             : u32,
    blue            : u32,
    greenasds       : u32,
}
impl Color
{
    fn init() -> Self
    {
        Self
        {
            red             : 255,
            blue            : 255,
            greenasds       : 255,
        }
    }
}

Can I like literally format it specifically to my own likings? Does it have the ability to do low level formatting without relying on pre-built settings?

  1. Is the code formatted instantaneously as I am typing my code?
jocker00712
@jocker00712
21
31
Gerald Quintana
@gquintana
Hi, when I am editing the last line of file and the "Auto Save" feature is enabled and .editorconfig contains insert_final_newline = true, the editorconfig plugin adds new line as I type. This is very painful because it insert a newline anywhere at any time. Is there a trick to avoid the cursor to be moved to next line as the line is added? Or to delay the line addition?