geany

Geany compiling

血红的双手。 提交于 2020-02-03 13:37:49
问题 Don't know where to put this... But I'm running Geany on 2 systems (laptop and desktop). On my laptop it works perfectly, but on my desktop when I run the code i get this error: '"./whatevername"' is not recognized as an internal or external command, operable program or batch file I can't figure out wtf is wrong with it. Any ideas? 回答1: If I may give a small help: you need to set the PATH variable. On Windows machines, it's in the registry. Here's how you do it: http://geekswithblogs.net

How does Geany auto-completion wơrk?

懵懂的女人 提交于 2020-01-28 05:35:06
问题 This question might seem a bit odd but I searched for like an hour and didn't find any hit that actually answered my question(s) about the auto-complete features of geany: does it have auto-complete for which languages does it have auto-complete (plugins?) how do i use auto-complete 回答1: Geany does have autocomplete. The main way autocomplete is used is by typing a long word, and by narrowing that list of autocomplete possibilities down. Let's say you type gtk_combo_box_. It will have a small

D3D11CreateDeviceAndSwapChain(…) was not declared in this scope

时光怂恿深爱的人放手 提交于 2020-01-17 14:42:49
问题 I am trying to make a simple Engine using c++ and DirectX 11. I am using Geany. This makes things worse for me because linking the d311 library was difficult, but I have to use it for 2 reasons: I want to make it without any IDE help, more to-root possible, and Because we use it at school. While I was following some tutorials and books I got stuck because my IDE doesn't recognize the method. How can I solve that? Update:i found out that the D310CreateDeviceAnsSwapChain(..) works but Idk what

How to delete all single-line PHP comment lines through Regex in any editor

*爱你&永不变心* 提交于 2019-12-25 07:12:38
问题 I have a php file open in editor like Geany/Notepad++ which has both type of comments single-line and block-comments. Now as block-comments are useful for documentation, I only want to remove single-line comments starting with //~ or # . Other comments starting with // should remain if they are not starting line from // . How can I do that in regex, I tried this one below but get stuck up in escaping slash and also including # . ^[#][\/]{2}[~].* Anyone can help ? 回答1: The problem with the

Geany - hint list for classes in linked libraries

你说的曾经没有我的故事 提交于 2019-12-25 06:59:11
问题 For C++, is there a functionality (or plugins that will provide this) in Geany which enables suggestion/hint list of all members of a class, also classes from a linked library? I mean like in Java, when you type dot(.) after an object instance variable, all of its members (methods and public variables are shown). This also applies when importing packages and classes. For example in Java(using Eclipse): Vector<Object> vec = new Vector<Object(); vec.[here after typing a dot(.), all public

How do you make Execute do anything in Geany?

非 Y 不嫁゛ 提交于 2019-12-23 02:16:08
问题 I am trying out Geany for the first time. Compile and Build work fine (and indeed the commands are automatically detected), however I have been unable to make Execute do anything at all. My setup: Create a new project Save a basic C hello world as hello-world.c (I am using Kubutuntu 14.04.) With no extra setup, pressing F9 or clicking Build -> Build correctly builds the executable. However, when I press F5 or click Build -> Execute, a terminal window appears with a $ prompt, and nothing else.

How to execute my C program line by line in geany as in turbo C

时间秒杀一切 提交于 2019-12-23 01:19:43
问题 I have switched to Linux Mint from Windows 7 and now I am using Geany to write C programs in it. As I mentioned in the question that I want to execute my program line by line in Geany. During execution is there a way where I can see the value of variables in Geany?. I am using Geany because it's light weight and it has an integrated terminal, compiler, scribble, etc. which is very simple to use... 回答1: Install Geany Debugger Plugin and then you can easily execute your program line by line.

Why does geany use #~ for comments in bash instead of just #?

会有一股神秘感。 提交于 2019-12-22 06:58:56
问题 When I select a block of text in Geany (editing a bash script) and hit Ctrl + E to comment, Geany inserts #~ at the beginning of every line, instead of just # . Why? 回答1: Geany is adding the ~ after the # to mark these lines as been toggled. Ctrl + E is toggeling the comment in default so # Original Comment print ("Hello world") becomes #~ # Original Comment #~ print ("Hello world") And back again # Original Comment print ("Hello world") Without some special marker it would might be hard to

How do I make Python3 the default Python in Geany

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 03:16:26
问题 I've been trying to modify the default Python compiler/run command in Geany. Some searching indicated that I would need to modify `/usr/share/geany/filetypes.python's last two lines as follows #compiler=python -m py_compile "%f" #run_cmd=python "%f" compiler=python3 -c "import py_compile; py_compile.compile('%f')" run_cmd=python3 "%f" After restarting Geany however, Build -> Set Build Commands still shows the old commands and attemping to run a py3 script causes errors. 回答1: First at all: Don

Array of functions and Segmentation fault - invalid memory reference

落爺英雄遲暮 提交于 2019-12-14 03:19:13
问题 I am trying to set my function f as an array, but I get the following error: Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error: #0 0x6f8b36e3 #1 0x6f8a2722 #2 0x402752 #3 0x747bd411 I have to solve the Kepler's equation: f=psi-e*sin(psi)-M for each value of M .So, if I have an array M of dimension 8, my program will calculate 8 zeros. The thing is that, if I write f=psi-e*sin(psi)-M(1) I will calculate the first zero,and if I write f=psi