blckct / varnish_jetbrains_plugin Goto Github PK
View Code? Open in Web Editor NEWBasic syntax support for VCL languages
License: Apache License 2.0
Basic syntax support for VCL languages
License: Apache License 2.0
Working with huge, monolithic VCLs, I often find myself scrolling up/down to make sure what vcl_*
function I have a caret in.
With PHP and JS, you can use Structure
window which shows you a code part (function, class, etc.) you are currently at.
Is there an option to use the same for VCL?
Yeah, I know, "split your VCL" but anyway...
When calling a function with a named argument the problem is reported but the VCL is actually ok.
Example:
import cfg;
sub vcl_init {
new foo = cfg.script("foo.lua", period=60);
// ^ problem
}
Problem:
'+', <operation internal>, <strings internal>, VCLTokenType.(, VCLTokenType.), VCLTokenType.,, VCLTokenType.operator or VCLTokenType.property expected, got '='
Plugin version: 0.7.2
director name dns {
.list = {
.host_header = "*";
.port = "80";
.connect_timeout = 0.4s;
"172.16.0.0"/24;
}
.ttl = 5m;
}
When you write a duration like 1s
there can be a white space between the number and the unit. The whitespaces include spaces, tabs and even new lines. Byte units work only because they are not implemented.
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.