ide

Highlighting modified lines in Eclipse

≡放荡痞女 提交于 2019-12-02 14:06:12
In netbeans, if I open a file which is under version control the lines which are modified are highlighted in the left. (green for new lines and blue for modified lines) Is it possible to get a similar effect in Eclipse? Open the Preferences window Search for "diff" Select Quick Diff Change the "Use this reference source" to a SCM provider (like CVS, SVN or Git) By default, it compares to the latest version on disk, which, if you've saved the file, is no diff at all. You have to activate the comparison against a SCM repo. I'm not sure what happens if you more than one type of SCM since this is

I am looking for tips for learning Vim or Emacs the smart way

£可爱£侵袭症+ 提交于 2019-12-02 13:57:59
I am a quite happy user of Eclipse (I mostly develop in PHP and Python), however I found the answers to "What specific productivity gains does Vim/Emacs provide over GUI text editors?" interesting enough to make me wish to try out Vim or Emacs as well and see if they would turn out to be a better solution for me. I have the general feeling that Vim and Emacs are not the kind of editor you learn by "playing with it" though. I have the impression you must dedicate some time and effort to "study" them a bit, before you can benefit from their power. So, I have two questions for the community: In

What is the shortcut in IntelliJ IDEA to find method / functions?

老子叫甜甜 提交于 2019-12-02 13:48:19
I know that Ctrl + N is to find classes and it is very useful. But what about methods? Press SHIFT TWO times and you can search anything, both class and method in the project. Daniel Deng ctrl + F12 ( cmd + F12 on macOS) will show all members of the current class in a popup windown and let you pick up one. It works exactly like the ctrl + o shortcut in eclipse, much faster than ctrl + alt + shift + n Brian Agnew Ctrl + Alt + Shift + N allows you to search for symbols, including methods. The primary advantage of this more complicated keybinding is that is searches in all files, not just the

Intellij - Errors JAVA (imports, etc…) doesn't detect

杀马特。学长 韩版系。学妹 提交于 2019-12-02 13:29:06
I'm starting use the IntelliJ-IDEA , but my java files doesn't detect errors like imports for example. I don't create one project java , because i'm using different languages in same project, but I want that in the java files, he detect the errors. How can I make this? Intellij can work very well standard project layouts. If yours is not standard - tell Intellij how it is structured: from open workspace, select File -> Project Structure (Ctrl+Alt+Shift+S), and go through all the tabs to setup specifics: The most important tabs are probably: Project tab, where you specify jdk to use with the

How to create a database project in Visual Studio 2013

*爱你&永不变心* 提交于 2019-12-02 13:25:09
问题 I'm migrating a solution which contains some C# projects from Visual Studio 2008 to VS2013. The migration went fine, with a few adjustments, but there's also a .dbp project (database project, from VS2008), which refuses to migrate / load in VS2013. The closest project type I found in this newer version is "SQL Server Database Project", I've created one and added my existing .sql script files, but this project type (.sqlproj) appears to be something different. For example, VS 2008's "database

php开发环境是什么

寵の児 提交于 2019-12-02 12:26:51
软件开发环境(Software Development Environment,SDE)是指在基本硬件和数字软件的基础上,为支持系统软件和应用软件的工程化开发和维护而使用的一组软件,简称SDE。它由软件工具和环境集成机制构成,前者用以支持软件开发的相关过程、活动和任务,后者为工具集成和软件的开发、维护及管理提供统一的支持。 在目前的PHP开发中,其环境主要有两种形式:独立开发环境与集成开发环境 PHP集成开发环境: 1、Zend Studio   Zend Studio 来自 Zend —— PHP 幕后的精英团队。 它真的是很不错。它运行于三大系统:Windows、Mac OS X 和 Linux。而且绝对能够提供您所需要的一切:PHP V4、PHP V5 等等。它的下载需要花很长时间,但是非常值得。   作为 IDE,Zend Studio 是最好的。它提供所有想在内置库和定制代码中拥有的代码智能特性。它还有非常好的调试功能,而且极易设置。要把代码放到存储库(repository)中,Zend Studio 会连接到 CVS 和 Subversion。要把代码放到服务器上,有集成 FTP 可以使用。Zend Studio 非常适合 Macintosh,如图 7 所示。   在其他一些 IDE 中,代码片段是内置的以使代码编制更为容易。这款 IDE

Confusion about unit tests (googletest) and projects/folder/files

雨燕双飞 提交于 2019-12-02 11:50:49
问题 It's the first time I want to use unit tests in my c++ project. Hence I've many existing classes for which I will write tests (at least for some of them). Further, the application has of course a main() function. I'm using qt creator with qmake but could also switch to cmake. The project, qt creator and qmake are working nicely. My confusion is now how do I add unit test? I intent to use googletest. I've already run a test in a new project, testing some dummy add(int, int) function, with

System.out.println in android?

早过忘川 提交于 2019-12-02 09:54:36
Is there any way that I can view my print statements in android studio without displaying the time and directory? It's extremely distracting and hard to debug when that text is taking up so much space. In the Android Monitor view in Android Studio (tested on Version 1.3), in the vertical toolbar inside the "logcat" tab, you will find a gear-shaped toolbar button. Click that, and you will get a "Configure LogCat Header" dialog with checkboxes to allow you to toggle on and off various pieces of what gets displayed: Uncheck the items that you do not want (e.g., "Show time"). Note that LogCat does

linux下安装netbeans IDE (php版)

旧街凉风 提交于 2019-12-02 09:52:49
netbeans是一个开源免费的支持中文的IDE,作为一个php开发者,本来我是准备选择zend-studio,当然zend-studio也是开源的,奈何它是收费的。 安装方法: 注意:安装netbeans需要 Java 6 及更高版本 的JDK支持,如果没有 JDK,就要先安装 JDK 了。 可用rpm -qa|grep jdk查看。 1、到官网下载安装软件包。目前官网提供7.2正式版 和7.3测试版。两个我都安装过,7.3比7.2升级支持来HTML5,不过测试版毕竟是测试版,不稳定,我装了7.3后,该程序老是崩溃,只好换回7.2版。 2、下载的安装包是sh文件,只要在root权限下使用sh命令运行该程序包就可以了(sh netbeans-7.2.1-ml-php-linux.sh),接下来的步骤就跟在windows下安装软件一样了。 3、卸载。找到netbeans的安装目录(一般默认安装在/usr/local),运行./uninstall.sh。卸载也跟windows一样。 题外话:没想到现在linux下安装软件,除了原始的make 和新近的apt 、yum,居然还有这种sh格式安装软件包,这种软件包居然与windows下的傻瓜安装方法一样,看来linux走向平民电脑,前途不可限量哦! 来源: oschina 链接: https://my.oschina.net/u

Add resources to a JAR

混江龙づ霸主 提交于 2019-12-02 08:42:00
I want to include resources fils (images, textfiles...) in a JAR. I added my asset folder to the classpath, so my program works fine when I run it in netBeans. But if I build the project, I receive an error : Not copying library C:\Users\Flow\Desktop\cp , it's a directory. Is it a normal error ? So I tried to add assets manualy like that : <target name="-post-jar"> <jar destfile="dist/MonProjet.jar" update="true"> <fileset dir="C:/Users/Flow/Desktop/cp"> <include name="assets/*"/> </fileset> </jar> </target> But it does not work. Do I something wrong ? Sorry for my english and thank you for