File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
src/main/java/com/intellij/csharpier Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
44pluginGroup = com.intellij.csharpier
55pluginName = csharpier
6- pluginVersion = 1.6.1
6+ pluginVersion = 1.6.1-beta
77
88# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99# for insight into build numbers and IntelliJ Platform versions.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ public void documentChanged(@NotNull DocumentEvent event) {
6565 }
6666
6767 private void findAndWarmProcess (String filePath ) {
68+ // if we didn't find dotnet bail out so we don't get extra errors about being unable to format
6869 if (!DotNetProvider .getInstance (this .project ).foundDotNet ()) {
6970 return ;
7071 }
@@ -94,6 +95,7 @@ private void findAndWarmProcess(String filePath) {
9495 }
9596
9697 public ICSharpierProcess getProcessFor (String filePath ) {
98+ // if we didn't find dotnet bail out so we don't get extra errors about being unable to format
9799 if (!DotNetProvider .getInstance (this .project ).foundDotNet ()) {
98100 return NullCSharpierProcess .Instance ;
99101 }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public static String findOnPath(Logger logger) {
2727
2828 String version = null ;
2929
30- String [] lines = dotnetInfo .split ("\\ r?\\ n" );
30+ var lines = dotnetInfo .split ("\\ r?\\ n" );
3131 for (var line : lines ) {
3232 var pattern = Pattern .compile ("^\\ s*Version:\\ s*([^\\ s].*)$" );
3333 var matcher = pattern .matcher (line );
You can’t perform that action at this time.
0 commit comments