Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

codesnippets.bat

(1/2) > >>

killerbot:
ON my windows system, in the output dir now popped up a codesnippets.bat (since the codesnippets updates).

Why does that have to be there, or is it a left over of a experiment.
I think the best thing would be if it is not there. 1 executable should be enough, so no others. (hehe those old darn batch files, the good old days ...)

EDIT : double clicking it, just gives me a lot of error boxes, and double clicking the exe in the plugins complains it doesn't find  wxscintilla.dll

Biplab:
So one more extra file is added. ;)

One Zero Byte file is coming up with Official Distribution for last couple of weeks which is surely a leftover. Just open <C::B_Dir>\share\CodeBlocks\plugins directory. You'll find a file named sta00336 :)

killerbot:

--- Quote from: Biplab on April 04, 2007, 08:43:47 pm ---So one more extra file is added. ;)

One Zero Byte file is coming up with Official Distribution for last couple of weeks which is surely a leftover. Just open <C::B_Dir>\share\CodeBlocks\plugins directory. You'll find a file named sta00336 :)

--- End quote ---
will kill it, should be out of the next nightly

Biplab:

--- Quote from: killerbot on April 04, 2007, 08:53:32 pm ---will kill it, should be out of the next nightly

--- End quote ---

Thanks :)

Pecan:

--- Quote from: killerbot on April 04, 2007, 08:25:33 pm ---ON my windows system, in the output dir now popped up a codesnippets.bat (since the codesnippets updates).

Why does that have to be there, or is it a left over of a experiment.
I think the best thing would be if it is not there. 1 executable should be enough, so no others. (hehe those old darn batch files, the good old days ...)

EDIT : double clicking it, just gives me a lot of error boxes, and double clicking the exe in the plugins complains it doesn't find  wxscintilla.dll

--- End quote ---

If you cd to .../src/devel then double click it, it actually runs CodeSnippets. Its a wrapper around the plugin.

It derives from an experiment to get wxAUI to run CodeSnippets reliably on Linux without snapping it into a dock window whenever you left click on a menu item.

wxAUI simply will not leave a Linux floating window alone. Any click on the main menu will dock all the windows whether you want it or not.

It's not a CodeSnippet's problem. It even happens with the floating debugger windows.

So for linux users, I left the wrapper in ../share/codeblocks/plugins. If a linux user wants to run CodeSnippets as a floating window without wxAUI interference they'll have to run the wrapper from ../share/codeblocks/plugins.

Since I test the code for both linux and MSW, I tested an equivalent .exe also (same code, different name).

The .bat & .sh files were just easy ways for me to run and test it. They also provide a starting point to explain to Linux users how to run as a floating window.


Navigation

[0] Message Index

[#] Next page

Go to full version