ide

Registering extension EJS with visual studio and intellisense?

流过昼夜 提交于 2019-12-03 23:34:33
does anyone know how i can map EJS to visual studio to act like a HTML file. I think i managed to do it but its got a lot of bloat in it.. Its basically an HTML file without the HTML and BODY tags.. so i selected the UserControl in VS 2008, tools, options, Text Editor, file extension and added EJS and added it as usercontrol. If i choose html then it doesn't offer intellisense until it detects a HTML and BODY .. My question really is can i add to this list? and create my own?? It need to offer intellisense for html and javascript but nothing more. Also can i create some kind of code to install

Auto-sync Visual Studio's Class View

时光怂恿深爱的人放手 提交于 2019-12-03 23:21:34
Is it possible to have Visual Studio's Class View pane (available under View > Class View) automatically synchronize to current symbol? Basically execute View.SynchronizeClassView whenever the current symbol changes. fakeleft See here and here . I find your phrasing more along the lines of what I would have asked. Not sure why you didn't get any answers. As it seems, an automatic synchronize (without hotkey) will not be implemented. https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/15963322-sync-class-view-with-code I want to personally thank you for taking the

Complete Class at Cursor Not Working

*爱你&永不变心* 提交于 2019-12-03 23:20:54
I've been widely making use of the Complete Class at Cursor function in Delphi, in 2010 and in XE2. Recently, after installing Update 4 for XE2, the Complete Class at Cursor stopped working. After doing some research, I found that uninstalling "AQTime" would fix the issue. So I did that (had to re-install Delphi just to remove it) and sure enough it started working again. Except, today, it suddenly stopped again. AQTime is not installed, and I haven't done anything in the IDE at all which (as far as I know) could possibly cause this. I haven't installed/uninstalled any packages, changed any

Best java tools for emacs [closed]

半腔热情 提交于 2019-12-03 23:18:19
I'm a long-time emacs user, and I'm now working about 1/2 time in Java. What are the best emacs libraries for Debugging Java Code Completion/Intellisense Javadoc browsing ? I've used JDEE on several projects. It handles Code Completion. I've never used it for debugging or browsing docs, but it's a big step up from a basic text editor. For javadoc I found http://javadochelp.sourceforge.net/index.html to be the best. Exuberant ctags is your best friend when it comes to navigation. I've had good success with jdibug for debugging Java code with Emacs. 来源: https://stackoverflow.com/questions/41056

Jump to method call from method definition in eclipse [Java perspective]

风格不统一 提交于 2019-12-03 23:16:43
(In eclipse) We have a shortcut key to jump to method definition from wherever the method is called, i.e. by using F3. But what if I am currently on the method definition and I want to go that location where the method is called or used. Any shortcut for this? You can try Ctrl+Shift+G which is a equivalent to find references. or Ctrl+Alt+H which brings up call hierarchy. It's Ctrl + Alt + H to bring up the call hierarchy. 来源: https://stackoverflow.com/questions/12348567/jump-to-method-call-from-method-definition-in-eclipse-java-perspective

Creating new database in DataGrip JetBrains

大憨熊 提交于 2019-12-03 22:56:08
Anybody know how to create new database in DataGrip (database IDE from JetBrains)? Could not find in DataGrip Help page . In DataGrip 2017.1 UI for this was introduced You first define the database. File --> Data Sources and Drivers --> Click on the green '+' in the top left corner to select the database type. And then fill in all the settings in the 'General' tab. For example for PostgreSQL: Host: localhost Database: postgres User: postgres Password: password Once you are set up, Ctrl+Shift+F10 to open the console and you can type your SQL statements, e.g.: CREATE DATABASE my_database

Run a PHP script directly in PhpStorm

萝らか妹 提交于 2019-12-03 22:53:04
How can I instantly run the current PHP file in PhpStorm? How can I execute PHP command in PHPstorm like PyCharm? CrazyCoder Right click in the editor, choose Run (or press ctrl+shift+f10) for command line script execution. If you want to test it on a web server, use Open in Browser from the same menu (you must have browser and server with mappings properly configured for this). On top of @CrazyCoder's solution, in version 2016.3 I came across this issue where I just saw 2 icons like this, You should hit the 2nd one! IF you hit the 2nd (like me) next thing I know, it opened in a browser tab.

Pet slept on keyboard, weird colors in IDE [duplicate]

╄→гoц情女王★ 提交于 2019-12-03 22:43:34
This question already has an answer here : Closed 7 months ago . How does this Color marker happen in eclipse IDE ,and what should I do to clear the Color marker (1 answer) Please stop laughing. My cat slept on my keyboard. When I came back I wonder what these colors are: I like to get rid of them but I don't know how to remove them. Close and reopen of the file does not work. Close and reopen of the project does not work. Any idea? Upvote for the cutest question ever. Regarding the colors: Reminds me of visualization of test coverage with EclEmma , which shows its results with coloured

How to detect that code is running inside eclipse IDE

落爺英雄遲暮 提交于 2019-12-03 22:11:18
How to detect that code is running inside eclipse IDE I am not aware of a generic way to get this kind of information. One suggestion: When you start a Java program (or a web server) inside Tomcat, simply add an argument that will indicate that this program is launched by Eclipse. You can do that by opening the "Open Run Dialog" ("Run" menu), then select your type of application and add in the "Arguments" tab a -DrunInEclipse=true . In your Java code, you can check the value of the property: String inEclipseStr = System.getProperty("runInEclipse"); boolean inEclipse = "true".equalsIgnoreCase

python IDE- IDLE

六眼飞鱼酱① 提交于 2019-12-03 21:57:56
IDLE是开发python程序的基本IDE(集成开发环境),具备基本的IDE的功能,是非商业Python开发的不错的选择。 IDLE是python创初人Guido van Rossum使用python and Tkinter来创建的一个集成开发环境。要使用IDLE必须安装python and Tkinter。 特性:自动缩进,彩色编码,命令历史(Alt+p,Alt+n)和单词自动(Alt+/)完成。 用IDLE执行Tkinter程序,不要在程序中包括mainloop。IDLE本身就是Tkinter应用程序,它会自动调用mainloop。再调用一次mainloop会与IDLE的事件循环冲突,造成运行时错误。 装了python就会有这个 IDLE ,大家肯定都用过了,功能还凑合,调试器的使用方法和大家熟悉的eclipse/Visual Studio很不一样,需要学习和适应,各项表现都一般。 当安装好python以后,IDLE就自动安装好了,不需要另外去找。同时,使用Eclipse这个强大的框架式IDE也可以非常方便的调试Python程序。基本功能:语法加亮;段落缩进;基本文本编辑;TABLE键控制;调试程序。 来源: oschina 链接: https://my.oschina.net/u/589247/blog/67761