joseph-turner / razor Goto Github PK
View Code? Open in Web Editor NEWSyntax Definition for Razor (cshtml) in SublimeText
Home Page: http://joseph-turner.github.io/Razor
Syntax Definition for Razor (cshtml) in SublimeText
Home Page: http://joseph-turner.github.io/Razor
It would be nice if the {{...}} pattern would be recognized with its own color so we can pick out the Angular $scope variables we bind to more easily.
Thanks for an otherwise very helpful language extension.
Raynier (WA) USA
Hi,
I'm willing to maintain this. Can we talk about transferring ownership?
Dan
When I write code in a @{ }
block, it appears all pinky.
It would be nice to have syntax highlight inside these code blocks.
C# strings are looking the same as other variables
@using ......
@{
var str = "Hello World";
}
On a project I'm working on, we use things like: <script id="box-template" type="text/html">
It appears your package assumes all <script>
tags are JS. Is there a way for you to not make that assumption?
Thanks!
I'm just using this package in order to be able to read the Razor templates a bit better, I don't know much about the Syntax itself.
I noticed, that the syntax-highlight went strange ways after a <text>
was closed.
<script type="text/javascript">
@{
<text>
const foo;
</text>
}
</script>
I try to comment some lines with keybind "ctrl+/" or "ctrl+shift+/" but it's not work with code like it work in VS. Please add "@* *@" comments to you plugin.
I'm no longer able to auto complete tags with "/". Any advice on where i can look/edit to being this back? I know its a small thing but its a life saver when I'm in nesting hell.
Hi there,
I use Emmet for HTML tab-completion and other awesome shortcuts.
Unfortunately, this Razor syntax package is incompatible with Emmet. It would be great if these two packages could work together.
A good place to start might be the tab functionality; for instance, typing div
and hitting [tab] will expand it to <div></div>
in any HTML file. Razor simply adds a [tab].
It is posible to have vbhtml support?
Any chance we could get this included in package control?
Default behavior of typing div + tab would result in
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.