EditorConfigLanguage icon indicating copy to clipboard operation
EditorConfigLanguage copied to clipboard

Visual studio 15.5 Preview 4 hangs when ident_size is set

Open xperiandri opened this issue 7 years ago • 8 comments

Installed product versions

  • Visual Studio Enterprise 15.5 Preview 4.0
  • This extension: 1.17.226

Description

Visual Studio hangs after ident size is set

Steps to recreate

  1. Open .editorconfig file
  2. Type with statement completion
root = true

[*.cs]
charset = utf-8
end_of_line = crlf
indent_size = 2

  1. Press Ctrl+Space on the new line
  2. Visual Studio will hang

Current behavior

Visual Studio hangs

Expected behavior

Statement completion popup opens

xperiandri avatar Nov 23 '17 19:11 xperiandri

I cannot reproduce this issue with EditorConfig Language Service version 1.17.226. @xperiandri, are you using an older version of the extension? There was an issue that would cause this hang but that was fixed a few weeks ago

madskristensen avatar Nov 29 '17 16:11 madskristensen

I tried for this solutions https://github.com/VHQLabs/TargetFrameworkMigrator

Extension version is 1.17.226

xperiandri avatar Nov 29 '17 16:11 xperiandri

@madskristensen I'm hitting this issue too on 15.5-preview5 but I'm not able to reproduce on 15.4.5 (Release channel). 1.17.226 on both.

jimmylewis avatar Dec 02 '17 23:12 jimmylewis

I've hit this now for a few different settings that take user-specified values:

indent_size = 4 
dotnet_naming_rule.public_methods.style = pascal_case
dotnet_naming_style.private_fields.required_prefix = _

When any of these are present in the file, adding a new setting on a different line will cause VS to hang after typing the first character.

jimmylewis avatar Dec 03 '17 00:12 jimmylewis

I can not reproduce this issue.

madskristensen avatar Dec 04 '17 19:12 madskristensen

Same issue here. Version 1.17.226

ghost avatar Dec 08 '17 08:12 ghost

Same here, using VS 15.5.0 (Enterprise, German)

fubar-coder avatar Dec 11 '17 14:12 fubar-coder

Same here on 15.5.2 Professional

wertzui avatar Dec 21 '17 07:12 wertzui