ide

Issue linking libxml++ and glib libraries with CodeBlocks IDE for C++ Windows

浪尽此生 提交于 2019-12-20 03:09:09
问题 I am writing a C++ app for Windows using Code Blocks IDE. I am interested in using the following XML++ library: http://libxmlplusplus.sourceforge.net/ It requires libxml2 and glibmm-2.4 libraries. I downloaded the source for each of these libraries and included all of the headers into my project by right clicking on "Build Options" ==> "Search Directories" tab ==> "Compiler" tab. I specified the header include files there. I modified the main.cpp file using the source code from "examples/dom

Frame inheritance and duplicate files in packages

时光毁灭记忆、已成空白 提交于 2019-12-20 03:00:10
问题 I have been developing a number of components using TFrames and ModelMaker -- I've found the combination of visual design/development + inheritance + ModelMaker to be very compelling. I then register these TFrame descendants w/a registration unit, and they become full-fledges palette-based components from there. I'm using Delphi 2007. Early in my learning about the little "snags" of this process, I found that a number of the problems I would run into with TFrame descendants streaming

Library (dylib) not loaded - image not found - Python IDE

风格不统一 提交于 2019-12-20 02:57:08
问题 Basically I'm trying to run some Python code from savReaderWriter module in order to create a .sav file ready to open in IBM SPSS. As a macOS user I needed to run these two lines in the terminal first for the module to work: echo 'export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/savReaderWriter/spssio/macos' >> ~/.bash_profile echo 'export LC_ALL=en_US.UTF-8' >> ~/.bash_profile Below you can see a piece of code I'm trying to run in Python:

How to make PHPStorm treat a function as defined?

对着背影说爱祢 提交于 2019-12-20 02:57:08
问题 The double_metaphone() function is defined in a PECL extension and as such PHPStorm cannot see it being defined. I wouldn't like to see any warnings about this. I assume I could make PHPStorm treat this function call as defined through some kind of annotation but I don't know how to make this happen. 回答1: You need what is called "stub files": Create a .php file and place it anywhere in your project (be it project itself .. or as some External Library (Settings | PHP | Include paths) -- does

IntelliJ IDEA seems to be ignoring code formatting

与世无争的帅哥 提交于 2019-12-20 02:06:22
问题 I've been attempting to get my Intellij IDEA to confirm to a google-like Java standard - however both imports and manual settings seem to be ignored. Here's how my indentations are currently set: However my code still formats at 4 spaces, and when I reformat it goes to 4 spaces as well. Thanks in advance! 回答1: This is the setting for your GoogleStyle scheme. But your project most likely doesn't use it. It's not enough to just select it in the combobox. You need to import this scheme into your

Visual Studio Code Replace multiple files at once

≯℡__Kan透↙ 提交于 2019-12-19 19:19:09
问题 I was wondering if there was any way to repalce multiple line in multiple files at the same time? I know under edit->Find in Files this will show all the desires lines in all the files, however you have to raeplce them one by one, anyone way to just like REPLACE ALL? 回答1: You can also Search and Replace across files. Expand the Search widget to display the Replace text box. When you type text into the Replace text box, you will see a diff display of the pending changes. You can replace across

“Scope Highlight” feature in Visual Studio? (same as seen in BlueJ for java)

蹲街弑〆低调 提交于 2019-12-19 17:41:29
问题 I would like to know (as I've failed so far in finding such a feature in the VS's options), if there is a feature which allow for scope highlighting same as seen in the BlueJ IDE for java, here is an example: Note how the code blocks are all highlighted with color, when learning java using blueJ i found it to be extremely easy on the eye when looking at code, and everything felt a lot more organized, moving to C# and working on MS visual studio, its all text with some highlighting, Class

Eclipse 3.7 cannot resolve Types in C++ Editor

岁酱吖の 提交于 2019-12-19 17:38:32
问题 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

Delphi XE2 background IDE compiler unable to find source path

吃可爱长大的小学妹 提交于 2019-12-19 16:38:05
问题 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

Delphi XE2 background IDE compiler unable to find source path

对着背影说爱祢 提交于 2019-12-19 16:37:21
问题 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