User forums > Help

cannot open files

(1/4) > >>

thunderben:
Hi all,

my conf is: Fedora 24 x86 + code::blocks 16.01

While my previous conf (fedora23-x86 + code;;blocks 12.??) worked perfectly well, since my recent update I'm not able to open any kind of file (.c, .h, .txt either).

I found nothing on the web....

Any idea to allonw me developing with this IDE ?

oBFusCATed:
What do you mean by cannot open file?
Please post the exact steps to reproduce the problem!

thunderben:
Back on this issue.

Well by "cannot open file", I mean:
1) from menu "Files -> Open -> [select a text fle]" and then clic on "OK"
2) clic on "open" icon from Main toolbar, and then select a text file
3) from project frame (yes, I'm able to open workspace), right clic on a source file and select "open <filename>"

After one of theses operations, nothing occur. file does not show off

Please notes:
- , if I run procedure 3) and select sub menu "open with --> hex edior" , file is opening correctly as expected.
- by "text file" I mean a file generated by gedit, or vi. displayed type by command "file <filename>" is "ASCII text"

Regards

CJS:
Files that aren't automatically handled by Code::Blocks are handled according to extension, as set up in Menu-->Settings/Environment/Environment Settings dialog
Select the "File Extension Handling" icon on the left. On the right should be a list of registered wildcards.  For example, *.txt.  If the file you want to open is not a standard Code::Blocks type handled internally it needs to be listed here.  Use the "New" button to add the extension if it is not listed.

There are 3 options to open files:

* Launch an external program - a user-defined program will start.  If adding new, you need to find the relevant program using the "External Program" /"Select Program" dialog.
* Launch the associated application - Windows opens the applications assigned for the file extension in Windows
* Open it in a Code::Blocks editor - self explanatory.On General Settings there is a "Manage" button which opens a dialog with checkboxes to select which files are associated by extension with Code::Blocks, these should typically be project files, workspace files, source code, and header files.

See also: How to auto open files with an external program? http://forums.codeblocks.org/index.php?topic=11873.0

BlueHazzard:
what if you create new file/project?

Navigation

[0] Message Index

[#] Next page

Go to full version