schneiderpat / aspnet-helper Goto Github PK
View Code? Open in Web Editor NEWLittle helper to develop faster ASP.NET MVC apps
License: MIT License
Little helper to develop faster ASP.NET MVC apps
License: MIT License
I believe I have satisfied all of the requirements as you've outlined in the extension configuration instructions.I have updated _ViewImports.cshtml, added [HttpGet] to actions, my Areas folder is in the correct location, and my controllers are named in standard fashion in the Controllers folder. Yet, the intellisence is not working. Thanks!
Performance
aspnet-helper
0.6.4
Windows_NT x64 10.0.17763
1.36.1
C:\Users\Nagy\schneiderpat.aspnet-helper-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load
Hi !
First, thank you for your extension.
I have an issue with you extension : it use 100% of my CPU and it stay even after i close VSCode.
Someone open an issue on the vscode github
This what i return
ps ax | grep 68119 68119 ?? R 0:47.50 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/rphlmr/.vscode/extensions/schneiderpat.aspnet-helper-0.6.3/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/rphlmr/.vscode/extensions/schneiderpat.aspnet-helper-0.6.3/server/server.js --node-ipc 68252 s000 R+ 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn 68119
ps ax | grep 68511 68511 ?? R 0:15.14 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/rphlmr/.vscode/extensions/schneiderpat.aspnet-helper-0.6.3/node_modules/vscode-languageclient/lib/utils/electronForkStart /Users/rphlmr/.vscode/extensions/schneiderpat.aspnet-helper-0.6.3/server/server.js --node-ipc 68580 s000 R+ 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn 68511
Extension | Author | Version |
---|---|---|
html-class-suggestions | AndersEAndersen | 1.0.7 |
vscode-solarized | Braver | 0.0.3 |
crane | HvyIndustries | 0.3.6 |
csharpfixformat | Leopotam | 0.0.20 |
vscode-docker | PeterJausovec | 0.0.13 |
code-settings-sync | Shan | 2.6.2 |
html-snippets | abusaidm | 0.1.0 |
vscode-css-formatter | aeschli | 0.0.2 |
vscode-javascript-snippet-pack | akamud | 0.1.5 |
npm-intellisense | christian-kohler | 1.3.0 |
path-intellisense | christian-kohler | 1.2.0 |
githistory | donjayamanne | 0.2.0 |
vscode-html-css | ecmel | 0.1.1 |
auto-rename-tag | formulahendry | 0.0.11 |
vscode-jekyll-snippets | ginfuru | 0.7.0 |
csharpextensions | jchannon | 1.3.0 |
theme-gruvbox-dark-medium | jdinhlife | 0.0.6 |
language-asciidoc | justusadam | 1.3.1 |
docomment | k--kato | 0.0.14 |
markdown-shortcuts | mdickin | 0.8.0 |
vscode-apache | mrmlnc | 1.1.1 |
csharp | ms-vscode | 1.8.1 |
vscode-paste-image | mushan | 0.3.0 |
language-liquid | neilding | 0.0.2 |
view-in-browser | qinjia | 0.0.5 |
java | redhat | 0.1.0 |
ClassyNaming | reflectiondm | 1.0.0 |
vscode-icons | robertohuertasm | 7.5.1 |
visual-gruvbox-medium-dark | rphlmr | 1.0.0 |
aspnet-helper | schneiderpat | 0.6.3 |
theme-firewatch | ulthes | 1.0.2 |
When using this extension in Visual Studio Code on Ubuntu 16.04 cpu usage jumps to 100% and stays there, even after closing VS Code.
For Instance if I have the following models when in a .cshtml I will get intellisense for properties of the Message class but not the Inherited AuditEntity.
public abstract class AuditEntity : BaseEntity
{
public DateTime Created { get; set; } = DateTime.UtcNow;
// public ApplicationUser CreateBy { get; set; }
public DateTime Modified { get; set; } = DateTime.UtcNow;
// public ApplicationUser ModifiedBy { get; set; }
}
public class Message : AuditEntity
{
public int MessageId { get; set; }
public string UserId { get; set; }
[ForeignKey("UserId")]
public ApplicationUser User { get; set; }
[Column(TypeName = "text")]
public string MessageText { get; set; }
public virtual List<Comment> Comments { get; set; } = new List<Comment>();
}
Hello,
the extension generates the following errors:
https://paste.ubuntu.com/24002239/
ASP.NET Helper 0.6.1 / vscode 1.9.1 / Windows 10
Regards,
Igor
Conventions over configuration.
Areas must be in Areas folder and AreaRouteAttribute must be the same name as the foldername
Controllers must be in Controllers folder and named Controller.cs
Actions must contain a HttpGet attribute
Namespaces for used models must be in a _ViewImports.cshtml -> only model names in razor page
Hello,
I am trying to use your ASP.NET razor extension but I can't seem to get it to work on vscode + Debian 8.6.
Steps to reproduce:
mkdir hwapp && cd hwapp
dotnet new --type web
open the folder in vscode
Results: http://take.ms/3gWpU
Am I misconfiguring something? Please advise.
Regards,
Igor
I have seperate namespace for my entities, but when I try to do something like this:
@model Entities.CompanyProfile
then even though the page shows up correctly in the browser, the aspnet-helper extension still shows errors.
I am not using asp.net core so I don't have a _ViewImports.cshtml. Is it still possible to somehow import a model from a different namespace?
Hi! Thanks for this amazing plugin.
Intellisense is able to show only some of the Model's properties. I think I get the reason, but i don't know how to fix. An example will get us on the right path:
Model:
public partial class MyModel
{
public int ID {get; set;}
public virtual OtherModel MyOtherModel {get;set;}
}
In the Html document if I use @Model.ID
everything is fine. If I use @Model.MyOtherModel
I get an error. I think the reason for this is related to the number of words in the property declaration.
The intellisense shows me that OtherModel
is the name - which actually is the type- of the property and virtual
is the type -which is not the type-.
It seems that it splits the line and takes always the "second" word as the property's type and the third one as the Property's Name.
I don't think this issue is related to the plugins, os or visual studio core versions, but if they are needed let me know.
Thanks.
Hi The extension does not seem to work on maxosx. I have VS code 1.9.1. Are you aware of any command that need to be run after installing?
Hello, The Intellisense in razor views not working
Ubuntu 16.4
VS Code
Do you think you would be able to get this to work for Umbraco and Kentico 12 MVC platforms as it currently does not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.