omnisharp

Visual Studio Code: DesignHostManager failed

时间秒杀一切 提交于 2019-12-13 15:35:24
问题 I'm trying to setup a project and I get the following error in the output OmniSharpLog [ERROR:OmniSharp.Dnx.DesignTimeHostManager] Failed to launch DesignTimeHost in a timely fashion. I can't seem to find any documentation about this error elsewhere and I have absolutely no clue as to how to circumvent it. My dnu restore command completed successfully. 回答1: I found this link and thought it could help me. Luckily, the steps worked! I fixed my issue by first installing/downgrading to dnvm 1.0.0

OmniSharp not functioning properly in one project but is in another

删除回忆录丶 提交于 2019-12-11 18:45:44
问题 I have two identical projects that I am using to create a full stack Ember web-ui with .NET Core JSON API. I notice that in one project, OmniSharp is not providing the include using statement, but it does in the other project. Additionally, for the project where OmniSharp does not provide the include using statement, OmniSharp does provide an option to remove unused usings . When I select this option, it removes all but two using statements, which is incorrect because now the application will

How does Omnisharp use wildcards in its config files?

梦想的初衷 提交于 2019-12-08 11:44:47
问题 Background This relates to an older stackoverflow question. I was hoping to ask for more details but haven't got the Reputation to write comments yet. Circumstances are the same: I'm adding codecheck warnings that I want to ignore, by editing the "IgnoredCodeIssues" section of Omnisharp's config.json file. The question What wildcard/regexp characters work here and how? Is it perhaps a known standard with its own docs somewhere that I can read? Example If I enter an issue warning verbatim it

IntelliSense doesn't work in Visual Studio Code on Mac

会有一股神秘感。 提交于 2019-12-08 09:41:38
问题 I am using Visual Studio Code to develop an ASP.NET 5 application on Mac. The issue I am having is that I don't get any IntelliSense support (e.g. available class methods) beyond simple autocomplete for methods and variables names that I previously typed. The app targets DNX Core 5.0: "frameworks": { "dnxcore50": { } }, And I have CoreCLR 1.0.0-rc1-update1 installed via DNVM: $dnvm list Active Version Runtime Architecture OperatingSystem Alias ------ ------- ------- ------------ -------------

How can I configure the omnisharp syntastic syntax checker to be more lenient?

瘦欲@ 提交于 2019-12-06 02:15:29
问题 I've followed this guide for setting up my vim for c#. I works beautifully, but I've got an annoyance: The syntastic checker is a bit too harsh on me. Specifically it advises me to change this line: var parser = new Parser(configuration, findReservations: true); with the message "Redundant argument name specification". Of course I COULD just do as it says, but I happen to like my redundant argument specification. The reader of my code might not remember what that boolean is for otherwise. So.

How can I configure the omnisharp syntastic syntax checker to be more lenient?

二次信任 提交于 2019-12-04 06:55:46
I've followed this guide for setting up my vim for c#. I works beautifully, but I've got an annoyance: The syntastic checker is a bit too harsh on me. Specifically it advises me to change this line: var parser = new Parser(configuration, findReservations: true); with the message "Redundant argument name specification". Of course I COULD just do as it says, but I happen to like my redundant argument specification. The reader of my code might not remember what that boolean is for otherwise. So... how can I tell syntastic (or omnisharp) to relax about this kind of warning? jasoni Modify the