ide

Prevent methods with empty bodies from deletion on save

爷,独闯天下 提交于 2019-12-01 18:12:26
It's quite a contradictory habit of mine to press Ctrl+S permanently. The negative side is that delphi deletes empty functions/procedures on save. Is there a way to prevent IDE from deleting functions/procedures with empty bodies on save? OnTheFly Converted from the comment as per OP request. My comment is too tiny for an answer, so I'm going to add few details maybe already obvious to an OP. This happens with event handlers only¹. Write them without delay or comment them with todo ² ¹ That is, event handlers are methods of design class and they are created, listed and deleted (if caught empty

Edit Comment Template in Netbeans PHP 6.8 [duplicate]

半城伤御伤魂 提交于 2019-12-01 18:08:44
This question already has an answer here: Editing method comment template in Netbeans 6.9.1 1 answer I would like to ask is there any way change the comment code template in Netbeans PHP 6.8 In eclipse, when I type /** ENTER , it would come out the comment template that I set in the setting, like this: /** * Apr 19, 2010 - Shiro * Description * * @return unknown_type */ function test() { } by Default Netbeans only will show the parameter in the function. /** * * @param <type> $order_No * @param <type> $array */ in Netbeans is there any possible I could found any customization about this,

Edit Comment Template in Netbeans PHP 6.8 [duplicate]

北城以北 提交于 2019-12-01 18:03:52
问题 This question already has an answer here : Editing method comment template in Netbeans 6.9.1 (1 answer) Closed last year . I would like to ask is there any way change the comment code template in Netbeans PHP 6.8 In eclipse, when I type /** ENTER , it would come out the comment template that I set in the setting, like this: /** * Apr 19, 2010 - Shiro * Description * * @return unknown_type */ function test() { } by Default Netbeans only will show the parameter in the function. /** * * @param

Eclipse + GWT -> Out of memory in development mode

筅森魡賤 提交于 2019-12-01 18:03:13
If I run my GWT application in eclipse in development mode and click around in the browser for some time, I always get an "out of memory" error in eclipse. My computer has 16 GB Ram, and there is never used more than 8GB. I tried several config parameters. The VM-arguments in my Run configuration contain these parameters: "-Xms8192m -Xmx8192m" Even in the eclipse.ini I tested several config parameters and now it looks like this: --launcher.XXMaxPermSize 8192M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 8192m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi

分享一个 pycharm 专业版的永久使用方法

Deadly 提交于 2019-12-01 17:57:06
分享一个 pycharm 专业版的永久使用方法 刚开始接触Python,首先要解决的就是Python开发环境的搭建。1765243235 目前比较好用的Python开发工具是PyCharm,他有社区办和专业版两个版本,但是社区版支持有限,我们既然想好好学python,那肯定得用专业的不是。 但他专业版要么只能试用一个月,要么就是 $ , 身为猿军中的一员怎么能让他们这些小伎俩阻碍了我们继续前进的步伐呢?所以我在度娘的引导下,一步步实现了PyCharm的永久使用(虽然是到2099年,不过也够用了,小胖应该可以提前退休。。。) 那接下来就给大家讲讲,怎么个操作法 安装 安装pycharm2019.2专业版 骚操作 启动你的IDE,如果上来就需要注册,选择:试用(Evaluate for free)进入IDE 点击你要注册的IDE菜单:"Configure" 或 "Help" -> "Edit Custom VM Options ..." 如果提示是否要创建文件,请点"是|Yes"。 在打开的vmoptions编辑窗口末行添加:"-javaagent:/absolute/path/to/jetbrains-agent.jar" 一定要自己确认好路径,填错会导致IDE打不开!!!最好使用绝对路径。 示例: mac: -javaagent:/Users/neo/jetbrains-agent

Eclipse + GWT -> Out of memory in development mode

旧城冷巷雨未停 提交于 2019-12-01 17:52:56
问题 If I run my GWT application in eclipse in development mode and click around in the browser for some time, I always get an "out of memory" error in eclipse. My computer has 16 GB Ram, and there is never used more than 8GB. I tried several config parameters. The VM-arguments in my Run configuration contain these parameters: "-Xms8192m -Xmx8192m" Even in the eclipse.ini I tested several config parameters and now it looks like this: --launcher.XXMaxPermSize 8192M -showsplash org.eclipse.platform

How to get PyCharm to display unicode data in its console?

北战南征 提交于 2019-12-01 16:33:05
I have switched over to PyCharm and have had a blast using it. I code for projects that use languages other than English (i.e. Hebrew and Arabic) and need to debug encodings once in a while. For some reason, PyCharm will not display Unicode characters in its debug console. I have set the IDE encoding to UTF-8 but it did not help. Any ideas? You need to change the console font to the one which contains the required Unicode glyphs: The accepted answer is no longer correct. Of the default fonts, none of them make a difference. I just spent awhile going through this same problem and the best

Eclipse 3.7 cannot resolve Types in C++ Editor

喜夏-厌秋 提交于 2019-12-01 16:32:16
I recently changed from Eclipse 3.6 to Eclipse 3.7 , which I am using for C++ development in Ubuntu 11.04 . With Version 3.6 I had no big troubles, except that I always had some issues with the indexer. Now with Version 3.7 it begins marking unresolved Types as Errors. Since the indexer seems to dislike me even more, my Eclipse apparently doesn't know types like uint16_t or size_t . In contrary to the displayed errors in the code editor, my compiler has no problems with compiling the code and resolving all symbols and types, so this seems to be a problem of the IDE itself. Are there any ways

Delphi XE2 background IDE compiler unable to find source path

谁都会走 提交于 2019-12-01 16:14:56
I just bought XE2 version, installed the update 1 ISO, and made my Open Source projects compile with it. In fact: I added the source code paths of the library to the general settings IDE (for all platforms I use, i.e. Windows 32 bit and 64 bit up to now); I compiled the TestSQLite3.dpr regression tests of our framework - no problem: EXE is compiled and all tests passed; I've a strange issue with the IDE background compilers: even if the project compiled, the IDE displays some errors about unknown files (not in the bottom compiler messages, but in the top of the classes navigation tree - left

VS Code search.exclude doesn't work

安稳与你 提交于 2019-12-01 16:00:34
I can't make search.exclude settings to work, so that it excludes build folder. Here's screenshot: This looks like this bug: https://github.com/Microsoft/vscode/issues/31819 - search.exclude won't apply to open files. Just in case this helps anyone else, here's a list of things that could be affecting whether your file/search exclusion settings are working as expected. Double-check whether you're using the right patterns; you can see what kinds of patterns VS Code supports here . One common problem is to not add * before an extension you want to exclude, e.g. **/.min.js will exclude all files