I've written all my server side code and Coffeescript and I'm wondering if there is a way to run Plato on it?
There are plans to add coffeescript support but it doesn't currently support it: via this thread
Related
I am totally new to creating extensions in VS Code, and all the official examples of extensions are written in Typescript/Javascript, which I have no experience with. Is it possible to create VS Code extensions in other languages, such as Python or C++?
If so, could anyone point me to any resources to get me started?
It is possible by creating a C++ module for Node.js, which can then be loaded like any other node module. Of course, some glue code written in JS or TS is necessary to register the extension and translate calls to/from vscode.
I've gone this way in my ANTLR4 extension, but gave up eventually, because of the troubles I had due to incompatible dependencies (you have to make sure the extension uses the exact same V8 version, which was used to build the underlying Node.js used by vscode, on all supported platforms).
This situation might have change, I don't know, but with that in the background I don't recommend it.
If you want to add support for a new language in vscode you can also write a separate language server, as is mentioned in the linked SO answer. For other type of work, I'm afraid, you have no alternative to use.
No, as #rioV8 said, since VSCode is an electron app and runs on Javascript.
I have an idea (not new though) to make a compilation scala code to JavaScript. Basically I would like to use Scala where now Coffee Script is used in PlayFramework 2.x.
It seems it is not so hard to make it happen. Let's say I have a file /managed/Foo.js.scala. If something has changed in this file, when I refresh a page it triggers the compilation to js. And then, as result I can see updated assets/javascripts/Foo.js file.
So, the question is: how to trigger complication by browser-refresh event in PlayFramework?
Not necessary the answer but a direction where is the effort to do this. I will play around this.
About Sccla.JS, I guess it might be critical if I develop application that needs to be run on mobile. Several BMs of JS might deal breaker to use Sccla.JS
When developing a Node.js application in Eclipse, you usually import your own modules with functionality tied to exports (append functions) or module.exports (allows popular object literal notation).
But how do you set this up for code completion in files where you import your module?
Module
As you can see in the outliner, Eclipse is "aware" of the function:
Yet importing the module as tools doesn't make it's functions available:
I also tried the oldskool //#import tools.js but it doesn't seem to work like this.
How do I get code completion for my own functions in my project?
#Jey Keu: this question has some suggestions towards our mutual dream of code completion, namely:
Amateras plugin
JSDT editor
Aptana Plugin
SPKET plugin
VJET plugin
But it was closed by a bunch of people who know nothing about Eclipse. Profiling is the basis of code completion. But they think profiling is unicorns and rainbows and therefore not constructive.
I think, depending on your specific development needs, that VJET is your best bet. If you can get it to work without destroying every other function within Eclipse, please share your wizardry in this question.
http://eclipse.org/vjet/
I need to automate some webbrowser operation. Basically I need to import the result of some SQL queries via phpMyAdmin (I can't do direct SQl because my provider doesn't allow it AND I also tried using CURL or WGet but I couldn't get it work). Anyway, as it always the same files I though I could use macro. I thought using Vimperator/pentadactyl but it doesn't work as I need the macro to record file selection etc ....
So what would be the best (more popular) plugin to do the job. I was thinking of Selenium but I've seen other plugin which could do it.
Alternatively a full CLI version allowing to execute SQL remotely would be amazing too.
You can automation test for web to do the work replaced for macro.
With my knowledge macro using vbscript. some programs support for macro are Access, Excel, mapics(as400).
Is it possible to integrate the Java autocompletion for the classes I import via java_import? Methods defined in Ruby would be nice too, but this would be more of a candy.
I could be off here, but:
Doesn't RSense achieve what you need? It is supposed to detect new definitions after a "require" method
https://github.com/rsense/rsense