Git Product home page Git Product logo

com.tsk.ide.vscode's Introduction

Hello World! ๐Ÿ‘‹, I'm Abdul-Kadir Coskun

I'm a Full Stack / Game Developer.

I am a Solutions Architect for Falcon Eye Solutions.


Chizaruu

Twitter Followers YouTube Channel Subscribers Discord Members
  • ๐Ÿ”ญ Iโ€™m currently working on Cargowise Integration
  • ๐ŸŒฑ Iโ€™m currently learning Algorithms
  • ๐Ÿ’ฌ Ask me about Unity
  • ๐Ÿ“ซ How to reach me Discord, Linkedin
  • โšก Fun fact You code half the day to squash one bug only to find 12 more.

Languages and Tools:

azure babel bootstrap csharp css3 docker dotnet firebase git html5 hugo java javascript jekyll jest mysql nodejs postman python react reactnative sass spring typescript unity

com.tsk.ide.vscode's People

Contributors

andrews-unity avatar cdmazom avatar chizaruu avatar demelev avatar elmarj avatar florence-rolland avatar goncalo avatar henrikpoulsen avatar hmans avatar james-burr-unity avatar jamesyfc avatar mifreundorfer avatar miniwolf avatar sandy-carter-unity avatar simonferquel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

com.tsk.ide.vscode's Issues

Protracted Project Generation

Due to the usage of dotnet restore to rebuild csproj json files within the obj folder for analyzers, project generation build times have increased dramatically.

This isn't good.

So a solution is to ensure that analyzers are only directed towards csproj files that the user regularly manipulates (Assembly-CSharp and custom csproj due to assembly definitions).

This will speed up project generation to an appropriate build time in theory.

Some compiler errors because of usage of some c# 9 elements in version below 2021.2

Current Behavior

Title. Most of the errors thrown were due to new() and maybe is not null but havent seen all of the errors, this leaves me unable to import this into older dinosaur projects.

Log from console window
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\AssemblyNameProvider.cs(37,36): error CS8124: Tuple must contain at least two elements.
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(42,17): error CS8124: Tuple must contain at least two elements.
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\AssemblyNameProvider.cs(37,37): error CS1526: A new expression requires (), [], or {} after type
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(375,69): error CS8124: Tuple must contain at least two elements.
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(375,70): error CS1526: A new expression requires (), [], or {} after type
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(621,24): error CS1031: Type expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(621,24): error CS8124: Tuple must contain at least two elements.
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(621,24): error CS1026: ) expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(621,24): error CS1526: A new expression requires (), [], or {} after type
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(621,24): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(622,35): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(622,35): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(623,58): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(623,58): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(624,63): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(624,63): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(634,24): error CS1031: Type expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(634,24): error CS8124: Tuple must contain at least two elements.
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(634,24): error CS1026: ) expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(634,24): error CS1526: A new expression requires (), [], or {} after type
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(634,24): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(635,35): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(635,35): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(636,58): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(636,58): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(637,63): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(637,63): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(638,53): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(638,53): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(639,97): error CS1002: ; expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(639,97): error CS1513: } expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(679,45): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(680,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(680,39): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(681,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(681,51): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(682,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(682,51): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(683,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(683,52): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(684,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(684,43): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(685,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(685,59): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(686,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(686,50): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(687,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(687,46): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(688,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(688,46): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(689,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(689,48): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(690,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(690,42): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(691,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(691,52): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(692,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(692,31): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(693,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(693,43): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(694,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(694,51): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(695,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(695,42): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(696,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(696,53): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(697,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(697,33): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(698,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(698,45): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(699,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(699,37): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(700,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(700,43): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(701,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(701,40): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(702,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(702,40): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(703,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(703,39): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(704,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(704,50): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(705,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(705,50): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(706,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(706,54): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(707,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(707,36): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(708,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(708,47): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(709,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(709,44): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(710,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(710,52): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(711,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(711,71): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(712,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(712,45): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(713,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(713,61): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(714,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(714,59): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(715,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(715,61): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(716,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(716,67): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(717,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(717,42): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(718,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(718,53): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(719,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(719,52): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(720,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(720,38): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(721,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(721,44): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(722,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(722,53): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(723,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(723,45): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(724,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(724,49): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(725,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(725,44): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(726,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(726,39): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(727,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(727,45): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(728,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(728,42): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(729,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(729,44): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(730,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(730,46): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(731,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(731,38): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(732,20): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(921,20): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(921,56): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(922,41): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(922,41): error CS1525: Invalid expression term '.'
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(922,49): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(923,41): error CS1003: Syntax error, '=>' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(923,41): error CS1525: Invalid expression term '.'
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(923,51): error CS1003: Syntax error, ',' expected
Library\PackageCache\com.tsk.ide.vscode@1f28589b99\Editor\ProjectGeneration\ProjectGeneration.cs(923,51): error CS8504: Pattern missing

Reproduction / Steps To Reproduce

  1. Import while using unity 2021.2

Anything else?

No response

Update README / Prereq / MacOS section with instructions for Omnisharp

After this line in the README under macOS:

To avoid seeing "Some projects have trouble loading.

It would be helpful to add the following in some form:
In your VS Code user settings, ensure "omnisharp.useModernNet": false exists. This stops VS Code from using the version of Mono included in the official C# extension (6.0.X as of now from the latest version).
After installing the latest version of mono directly, set
"omnisharp.monoPath": "/Library/Frameworks/Mono.framework/Versions/Current" (or whatever path you may have installed it to). This will use the version you just installed (6.12.X as of now).

Hopefully that will save a few more people 30 minutes after switching to this plugin from the official Unity one after updating their Unity editor!

Can't `dotnet build` the generated projects

When building, I get:

C:\Program Files\dotnet\sdk\7.0.203\Microsoft.Common.CurrentVersion.targets(2073,5): error MSB4006: There is a circular dependency in the target dependency graph involving target "ResolveProjectReferences"

Also, running dotnet restore my.sln works weird, it resolves only one project dependency at a time ๐Ÿค”

Is there a way to make the generated csprojs compilable with msbuild/dotnet build?

Omnisharp diagnostics don't work on Windows

Current Behavior

Due to an implementation detail in Omnisharp in the /codecheck LSP request, no diagnostics are reported on Windows.

This is caused by specifying absoulte file paths for the compile items in the csproj. The file paths generated by the package start with a captial drive letter, e.g. C:\Project\Assets\MyScript.cs, but the file paths that VSCode passes to Omnisharp start with a lowercase drive letter, e.g. c:ยด\Project\Assets\MyScript.cs.

Due to Omnisharp using case sensitive comparison in the /codecheck request the file paths do not match and all diagnostics are dropped.

You could argue that this is a bug in Omnisharp and should probably fixed there, but the easiest workaround here would be to specify relative paths instead of absoulte paths.

Reproduction / Steps To Reproduce

  • On Windows, create a Unity Project and add a script file.
  • Type a compile error into the script file and observe that no diagnostics are reported in VSCode.
  • When running Omnisharp with debug logging, it can be seen that the /codecheck request returns an emtpy result.

Anything else?

No response

Options to disable auto generation of config files

I am using a global omnisharp.json file which points to a global Microsoft.Unity.Analyzers.dll file as it saves on setup for various small test projects. When this package generates the omnisharp.json it overrides the global one.

Is it possible to have options to disable generation of each config file? Or perhaps a way to provide our own options to merge into the default ones this package generates?

Some autogenerated omnisharp options are not placed in the right file

Current Behavior

The omnisharp.json settings file you can generate from the External Tools windows in Unity seems to include options that are only recognized by the C# vscode extension and not the omnisharp server.

omnisharp_settings_generation

The generated omnisharp.json file.

{
    "RoslynExtensionsOptions": {
        "enableRoslynAnalyzers": true,
        "enableEditorConfigSupport": true,
        "analyzeOpenDocumentsOnly": true,
        "sdkIncludePrereleases": false,
        "organizeImportsOnFormat": true,
        "threadsToUseForAnalyzers": true,
        "useModernNet": true,
        "documentAnalysisTimeoutMs": 600000
    }
}

My understanding is that

  • the omnisharp.json options are only read by the omnisharp server (they are not read by the C# vscode extension)
  • the C# vscode extension options need to be set in vscode's settings.json to be recognized

Currently, some options that are only recognized by the C# vscode extension are set in omnisharp.json and are thus completely ignored.

Here is a table summarizing what option is recognized by who.

Option name C# vscode extension option ? Omnisharp server option ?
enableRoslynAnalyzers yes no (the corresponding option is EnableAnalyzersSupport)
enableEditorConfigSupport yes yes but not in RoslynExtensionsOptions (it's in FormattingOptions)
analyzeOpenDocumentsOnly yes yes but undocumented
sdkIncludePrereleases yes no
organizeImportsOnFormat yes no (the corresponding option is OrganizeImports in FormattingOptions)
threadsToUseForAnalyzers no no (was present in past versions as an int option)
useModernNet yes no
documentAnalysisTimeoutMs no yes

Note that the threadsToUseForAnalyzers option isn't used in the latest version of either the C# vscode extension or the omnisharp server. It was present in past versions of the omnisharp server, but as an int option.

Reproduction / Steps To Reproduce

I didn't check every option but I checked the behavior of organizeImportsOnFormat.

When the option is set in omnisharp.json

The imports are not reordered on save.

omnisharp.json

{
    "RoslynExtensionsOptions": {
        // ...
        "organizeImportsOnFormat": true,
        // ...
    }
}

When the option is set in vscode's settings.json

The imports are reordered on save.

settings.json

"omnisharp.organizeImportsOnFormat": true,

Anything else?

Omnisharp server options

C# vscode extension options

Omnisharp server option generation from the C# vscode extension

As a side note let me thank you for continuing the work on the vscode editor package for unity after unity support ended. It helped me fix non-functional refactoring actions in vscode after upgrading to Unity 2022.2.

GenerateNugetJsonSourceFiles invokes dotnet with incorrect Arguments

Current Behavior

On Windows the Process in GenerateNugetJsonSourceFiles invokes dotnet with -c "dotnet build" as arguments, which does not work, as there is no -c parameter in dotnet. This seems to be an artifact of calling dotnet through a shell process on Linux and MacOS.

The correct invokation would just have build as an argument. This begs the question as to why dotnet is invoked through a shell on Linux and MacOS in the first place.

Reproduction / Steps To Reproduce

  • Create a Unity Project on Windows and generate the Visual Studio Code Project files.
  • Observe that there are no obj and bin folders being created next to the .csproj files, because dotnet build is not run.

Add IDE0051 suppressor to .editorconfig default configuration

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

A few members of the community (myself included) noticed that this wasn't being suppressed by Unity Analyzers

image
image
image

Add this to .editorconfig

#Ignore IDE0051: Remove unused private members
[*.cs]
dotnet_diagnostic.IDE0051.severity = none

What type of pull request would this be?

Enhancement

Any links to similar examples or other references we should review?

https://forum.unity.com/threads/microsoft-previews-unity-extension-for-visual-studio-code.1468913/#post-9194615
https://marketplace.visualstudio.com/items?itemName=VisualStudioToolsForUnity.vstuc&ssr=false#review-details

Assembly name conflict in 2021.3

Hi,

First of all thanks for picking up the pieces Unity left behind and starting this project, hugely appreciate it!

Unfortunately I can't use your package in 2021.3 since there is an assembly conflict with the existing VS Code package from Unity that persists even if you remove it from the project first. It looks like pressing "Remove" doesn't actually do anything though since the package is still listed under Packages in the Project window. I also tried deleting the directory fom PackageCache manually but that didn't change anything either.

Assembly with name 'Unity.VSCode.Editor' already exists (Packages/com.tsk.ide.vscode/Editor/com.tsk.vscode.Editor.asmdef)
Assembly with name 'Unity.VSCode.Editor' already exists (Packages/com.unity.ide.vscode/Editor/Unity.com.unity.vscode.Editor.asmdef)

Is there any way to get around this? The editor is not usable while this error is not resolved, the scene view is completely magenta and the console is full of warnings about materials not getting created properly.

Omnisharp is slow when analyzing

I made this issue for anyone trying to understand why they must wait 10+ minutes for massive projects.

It would be best if you toggled Omnisharp's Analyze Open Documents Only within the vscode settings
image

You can instead add "analyzeOpenDocumentsOnly": true to omnisharp.json within RoslynExtensionsOptions.

I'll make this default later, as we don't need to analyze the scripts we aren't working on.

Project Generation doesn't work on Mac

Current Behavior

Trying to generate project files on mac errors saying "dotnet" command not found due to how process.Start() works on non windows platforms.

After a quick test, changing the lines in ProjectGeneration.cs like this seems to fix the issue, so we might need a flag based on OS

System.Diagnostics.ProcessStartInfo processStartInfo =
                new()
                {
                    FileName = "/bin/zsh",
                    Arguments = "-c \"dotnet build\"",
                    RedirectStandardOutput = true,
                    UseShellExecute = false,
                    CreateNoWindow = true
                };

maybe something like if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) we can pass in different filename and arguments

Reproduction / Steps To Reproduce

No response

Anything else?

No response

jslib language server

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

Since unity have special file type, a .jslib, for webgl platform which actually emscripten extended js with macro and some other feature such as triple brace variable injection

I wish that unity vscode extension should support this language too. And so it would support autocomplete and not report error from those extended syntax

Is it possible?

What type of pull request would this be?

Enhancement

Any links to similar examples or other references we should review?

No response

Unable to resolve Microsoft.Unity.Analyzers

I have complied with the prerequisites and instructions done within unity as instructed but I seem to be having issues regarding the analyzer:
Capture

I have everything up to date (Unity, VSCode, TSK Package, .Net 6&7 SDKs, VS 2022, .NET desktop build tools). I tried tinkering with the Ominsharp settings on VSCode such as Enable Roslyn Analyzers and Use Modern Net but there weren't any changes. I suspect some kind of issue with how the analyzer is being retrieved, since using the VS Code Editor Package provided by Unity while following this guide does not give me any errors.

Add NuGet Package Import Support

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

It should be a simple process of adding names and versions.

What type of pull request would this be?

New Feature

Any links to similar examples or other references we should review?

No.

Add support for new Unity Debugger by Microsoft

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

Title says it all.

What type of pull request would this be?

Enhancement

Any links to similar examples or other references we should review?

https://forum.unity.com/threads/microsoft-previews-unity-extension-for-visual-studio-code.1468913/
https://devblogs.microsoft.com/visualstudio/announcing-the-unity-extension-for-visual-studio-code/
https://marketplace.visualstudio.com/items?itemName=visualstudiotoolsforunity.vstuc

External Script Editor doesn't show option for VSCode

Current Behavior

External Script Editor doesn't show option for VSCode

Reproduction / Steps To Reproduce

  1. Follow the Prerequisites section to install all required components
  2. Open a project in Unity 2022.3.0
  3. Add com.tsk.ide.vscode via OpenUPM
  4. Restart Windows
  5. Open Unity project again
  6. See there is still no VSCode option for External Script Editor

Anything else?

OS: Windows 11
Visual Studio Code: 1.78.2

image

Add launch.json config generation and customization

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

A personalized config set up for launch.json

What type of pull request would this be?

Enhancement

Any links to similar examples or other references we should review?

No response

Roslyn analyzers fail to detect issues when using absolute paths after initial use

Current Behavior

After the first use, Roslyn analyzers cannot detect issues when absolute paths are used. Although the functionality remains intact, no problems are listed or underlined in the code.

image

Stack Trace

Log [dbug]: OmniSharp.Stdio.Host ************ Response (11.0294ms) ************ { "Request_seq": 25, "Command": "/v2/getcodeactions", "Running": true, "Success": true, "Message": null, "Body": { "CodeActions": [ { "Identifier": "Roslynator.RCS1181", "Name": "Convert comment to documentation comment", "CodeActionKind": "QuickFix" }, { "Identifier": "Roslynator.RCS1213", "Name": "Remove 'Update'", "CodeActionKind": "QuickFix" }, { "Identifier": "Add_accessibility_modifiers", "Name": "Add accessibility modifiers", "CodeActionKind": "QuickFix" }, { "Identifier": "\n // Update is called once per frame\n void Update()\n {\n\n }\n", "Name": "Remove empty Unity message", "CodeActionKind": "QuickFix" } ] }, "Seq": 1641, "Type": "response" }

************ Request ************
{
"Type": "request",
"Seq": 26,
"Command": "/quickinfo",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Line": 13,
"Column": 12
}
}
dbug: OmniSharp.Stdio.Host
************ Response (73.9076ms) ************
{
"Request_seq": 26,
"Command": "/quickinfo",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"Markdown": "csharp\nvoid TimTam.Update()\n"
},
"Seq": 1644,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 27,
"Command": "/v2/getcodeactions",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Line": 13,
"Column": 9
}
}
dbug: OmniSharp.Stdio.Host
************ Response (56.1117ms) ************
{
"Request_seq": 27,
"Command": "/v2/getcodeactions",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"CodeActions": [
{
"Identifier": "Roslynator.RCS1213",
"Name": "Remove 'Update'",
"CodeActionKind": "QuickFix"
},
{
"Identifier": "Add_accessibility_modifiers",
"Name": "Add accessibility modifiers",
"CodeActionKind": "QuickFix"
},
{
"Identifier": "\n // Update is called once per frame\n void Update()\n {\n\n }\n",
"Name": "Remove empty Unity message",
"CodeActionKind": "QuickFix"
}
]
},
"Seq": 1647,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 28,
"Command": "/updatebuffer",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Buffer": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class TimTam : MonoBehaviour\n{\n // Start is called before the first frame update\n void Start()\n {\n\n }\n\n // Update is called once per frame\n void Update()\n {\n\n }\n}\n"
}
}
dbug: OmniSharp.Roslyn.BufferManager
Updating file b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs with new text:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TimTam : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{

}

}

************ Response (1.8601ms) ************
{
"Request_seq": 28,
"Command": "/updatebuffer",
"Running": true,
"Success": true,
"Message": null,
"Body": true,
"Seq": 1650,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 29,
"Command": "/codecheck",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs"
}
}
dbug: OmniSharp.Stdio.Host
************ Response (0.2250ms) ************
{
"Request_seq": 29,
"Command": "/codecheck",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"QuickFixes": []
},
"Seq": 1655,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 30,
"Command": "/v2/codestructure",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs"
}
}
dbug: OmniSharp.Stdio.Host
************ Response (0.4086ms) ************
{
"Request_seq": 30,
"Command": "/v2/codestructure",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"Elements": [
{
"Kind": "class",
"Name": "TimTam",
"DisplayName": "TimTam",
"Children": [
{
"Kind": "method",
"Name": "Start",
"DisplayName": "Start()",
"Children": null,
"Ranges": {
"full": {
"Start": {
"Line": 7,
"Column": 4
},
"End": {
"Line": 10,
"Column": 5
}
},
"name": {
"Start": {
"Line": 7,
"Column": 9
},
"End": {
"Line": 7,
"Column": 14
}
}
},
"Properties": {
"static": false,
"accessibility": "private"
}
},
{
"Kind": "method",
"Name": "Update",
"DisplayName": "Update()",
"Children": null,
"Ranges": {
"full": {
"Start": {
"Line": 13,
"Column": 4
},
"End": {
"Line": 16,
"Column": 5
}
},
"name": {
"Start": {
"Line": 13,
"Column": 9
},
"End": {
"Line": 13,
"Column": 15
}
}
},
"Properties": {
"static": false,
"accessibility": "private"
}
}
],
"Ranges": {
"full": {
"Start": {
"Line": 4,
"Column": 0
},
"End": {
"Line": 17,
"Column": 1
}
},
"name": {
"Start": {
"Line": 4,
"Column": 13
},
"End": {
"Line": 4,
"Column": 19
}
}
},
"Properties": {
"static": false,
"accessibility": "public"
}
}
]
},
"Seq": 1658,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 31,
"Command": "/findusages",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Line": 4,
"Column": 13,
"OnlyThisFile": false,
"ExcludeDefinition": true
}
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 32,
"Command": "/findusages",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Line": 7,
"Column": 9,
"OnlyThisFile": false,
"ExcludeDefinition": true
}
}
dbug: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 33,
"Command": "/findusages",
"Arguments": {
"FileName": "b:\GitHub\com.tsk.ide.vscode\Projects\2021.3 LTS\Assets\Custom Asmdef\TimTam.cs",
"Line": 13,
"Column": 9,
"OnlyThisFile": false,
"ExcludeDefinition": true
}
}
dbug: OmniSharp.Stdio.Host
************ Response (1.3936ms) ************
{
"Request_seq": 32,
"Command": "/findusages",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"QuickFixes": []
},
"Seq": 1664,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Response (1.3925ms) ************
{
"Request_seq": 33,
"Command": "/findusages",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"QuickFixes": []
},
"Seq": 1665,
"Type": "response"
}
dbug: OmniSharp.Stdio.Host
************ Response (6.8085ms) ************
{
"Request_seq": 31,
"Command": "/findusages",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"QuickFixes": []
},
"Seq": 1661,
"Type": "response"
}

Anything else?

This issue was previously reported on the Omnisharp Roslyn repository in February. For more details, please refer to the following link: Omnisharp Roslyn Issue #2506

Visual Studio Package unregisters TSK Package

Current Behavior

The recent version of the Visual Studio Package unregisters the TSK package from being a choice in External Tools.

Reproduction / Steps To Reproduce

  1. Install Visual Studio Package
  2. Find that the TSK package option is unregistered from External tools

Anything else?

That is an excellent way of saying hello, Microsoft.

Note: the Visual Studio Code Editor package is a legacy package that is not maintained anymore. The Visual Studio Editor package now handles the entire family of Visual Studio products.

Hitting "Regenerate" hangs Unity for ~25s

Current Behavior

image

Reproduction / Steps To Reproduce

  • Create a 2021 LTS project (I've used 2021.3.16)
  • Include the package
  • Click "Regenerate"

See how even on a minimal project it takes very long to generate the files.

I'm on a Windows 11 machine with mid-high CPU and GPU.

Anything else?

No response

Allowing to disable Roslyn analysers

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!

Roslyn analysers don't want to get switched off by configuration.

You said this earlier: "Assets Folder related asmdefs get the Unity Analysers nuget reference added to their csproj"

What type of pull request would this be?

None

Any links to similar examples or other references we should review?

No response

Regenerate files OnRegenerateProjectFiles

Need to make it so Analyzers, omnisharp.json & .editorconfig are regenerated alongside .csproj and sln files.

I should probably set a boolean or something for the user to decide.

Incorrect Editor Assemblies being referenced during csproj generation

Upon investigation, I have discovered that Editor-specific csproj files are encountering an issue with netstandard.dll. This issue is causing inconvenience and should be addressed to improve functionality.

The reference to the netstandard.dll is causing Omnisharp to go crazy. UnityEditor shows that everything is in order.

Known affected csproj files:
Assembly-CSharp-Editor
UnityEditor.TestRunner

Unnecessary GetDotnetCommand() Messages?

Discussed in #50

Originally posted by JooleanLogic June 5, 2023
Can I suggest that GetDotnetCommand() in ProjectGeneration.cs on line 1045 only throw the Win32Exception message if none of the 'possibleCommands' are matched?

I'm on linux and get the "Command '/bin/zsh' not found or not accessible." debug message whenever I start Unity or launch vscode.
As only one of those possibleCommands needs to succeed, it seems unnecessary to log output about which ones failed, unless they all failed.

PS. Apologies if this is wrong place for this. I'm not fluent in github processes and your discord link failed. Delete at will.

Freeze on initial load (/bin/zsh not found, possibly Linux-specific)

Current Behavior

Unity hangs on Initialize Script Compilers when the package is installed and Unity is first started.

Editor.log shows the following:

Registering precompiled user dll's ...
Registered in 0,013931 seconds.
Asset Pipeline Refresh: Total: 0.100 seconds - Initiated by RefreshV2(NoUpdateAssetOptions)
Command '/bin/zsh' not found or not accessible.
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
VSCodeEditor.ProjectGeneration:GetDotnetCommand () (at Library/PackageCache/[email protected]/Editor/ProjectGeneration/ProjectGeneration.cs:1101)
VSCodeEditor.ProjectGeneration:GenerateNugetJsonSourceFiles () (at Library/PackageCache/[email protected]/Editor/ProjectGeneration/ProjectGeneration.cs:1019)
VSCodeEditor.ProjectGeneration:GenerateAndWriteSolutionAndProjects () (at Library/PackageCache/[email protected]/Editor/ProjectGeneration/ProjectGeneration.cs:338)
VSCodeEditor.ProjectGeneration:Sync () (at Library/PackageCache/[email protected]/Editor/ProjectGeneration/ProjectGeneration.cs:246)
VSCodeEditor.VSCodeScriptEditor:SyncAll () (at Library/PackageCache/[email protected]/Editor/VSCodeScriptEditor.cs:608)
UnityEditor.CodeEditorProjectSync:SyncEditorProject () (at /home/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditorProjectSync.cs:21)

(Filename: Library/PackageCache/[email protected]/Editor/ProjectGeneration/ProjectGeneration.cs Line: 1101)

Reproduction / Steps To Reproduce

  1. Add packages to manifest.json using steps from README.
  2. Start Unity.

Anything else?

All project files seem to be correctly generated; I see the CSharpProjFolders folder with all necessary projects inside it. omnisharp.json and friends are also present as expected.

I'm on Arch Linux x86-64 and using Unity 2021.3.15f1 (Linux editor).

Automate Microsoft.Unity.Analyzers updates

Currently, I have to use a workaround to use Unity analyzers which honestly could be better.

This implementation can be better controlled with an automated process that allows the Unity Editor to check for a new version each time the editor is opened, giving the option to update.

Another way of automation is using GitHub Actions to control this process. Still, it would mean that either the maintainers of https://github.com/microsoft/Microsoft.Unity.Analyzers have the updated DLL accessible (issue), or I implement a strategy that pulls the DLL from the nuget package and have it accessible somewhere else.

Generated config files overwrite existing files even though generation for them is disabled

Current Behavior

In a Project that does not have the TSKDoNotDelete.txt file, all config files are generated an overwrite existing files, even though generation for them is disabled in the Editor Settings.

This causes data loss, when you don't have your project in version control. Especially with the .editorconfig file.

Do away with the TSKDoNotDelete.txt file and don't force generation of the config files. This is important for users switching from the offical VSCode Package to this version, as they do not have the txt file and will have their settings overwritten.

Reproduction / Steps To Reproduce

  • Create a custom .edtiorconfig file and installt the plugin.
  • Remove the TSKDoNotDelete.txt file.
  • Observe that the .editorconfig file is overwritten, even though generation for it is disabled.

Anything else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.