Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Update re Python Plugins

<< < (2/4) > >>

dmoore:

--- Quote from: tankypon on January 20, 2014, 08:58:01 pm ---Thank you for your advices. Yes I agree with you for the file manager, it's more easy.
I never used Tools before (because I didn't know is goal) but I'm stupid for never try it before today because it's a great tool. I can know launch my python script inside Code::Blocks, it's amazing! Before that, I used a terminal.

--- End quote ---

The Tools+ plugin does the same thing as Tools but lets you redirect output to a Code::Blocks dock window and links to file/line# in python error messages are clickable. (I am eventually going to merge that feature into Tools then kill off Tools+)


--- Quote ---If I see bugs, I will reported them in this topic :)

--- End quote ---

Sounds good. But feel free to use the github issues for more complicated issues/requests.

tankypon:

--- Quote ---No, not yet, but hopefully in the near future we'll merge the changes back.
--- End quote ---
Sounds great, I build every week a new nightly build of Code::Blocks. So when the changes will be merged, I'll have it.


--- Quote ---The Tools+ plugin does the same thing as Tools but lets you redirect output to a Code::Blocks dock window and links to file/line# in python error messages are clickable. (I am eventually going to merge that feature into Tools then kill off Tools+)
--- End quote ---
It's just weird in the fact of the existence of two tools ("tools" and "tools+"), I think it's a good idea to just have a tool with the features of the two tools.


--- Quote ---Sounds good. But feel free to use the github issues for more complicated issues/requests.
--- End quote ---
No problems

Which version of Python is used to interpret Python commands in the plugin "Python Interpreter"? 2.7, that's it?

dmoore:

--- Quote from: tankypon on January 23, 2014, 09:39:55 am ---It's just weird in the fact of the existence of two tools ("tools" and "tools+"), I think it's a good idea to just have a tool with the features of the two tools.

--- End quote ---

Agree that it's a little weird, but it's how it is for now. Tools+ does almost everything Tools does, and there's an option (under Tools+ -> Configure Tools -> Plugin Settings) to have Tools+ replace the Tools menu. In addition to being able to display tool output as tabs in a notebook window, the tools will also display when you right click the file manager and project tree (right click on one or more files), and you can organize tools into submenus. I will try sometime in the next month to create a patch merging the features into the original Tools implementation (or making hooks for plugins).


--- Quote ---Which version of Python is used to interpret Python commands in the plugin "Python Interpreter"? 2.7, that's it?

--- End quote ---

I am using 2.7. I didn't hardcode the executable paths so it should work with any version of python that is in the system path and interp.py will work with (same deal with PythonCodeCompletion's python server: python_completion_server.py). They *might* work with python 3.x but I haven't checked.

I still need to add a configuration panel so that users can choose a custom command line to launch python in the different plugins (it might also be useful to be able to have multiple interpreters with different python versions or envs). I think I will make a single configuration dialog for all three plugins in a separate plugin, since it is annoying to have to hunt all over for common settings.

dmoore:
Just a note that the Python code completion plugin has been updated for the latest changes in trunk. Python CC should be more stable and provides doc strings.

tankypon:
It's been a while but again thank you for your plugin. Previously, I have said if I see a bug I will report and that's the case:
I put my cursor in the python interpreter, if I press 'Enter': the command is executed, good. But if I press 'Alt+Enter', a new line is created in the window of my python file instead of the window of the python interpreter.

PS: I post the bug here, because I'm sure you will see it instead of use the bug report of github. In the future, if you want I can use the bug report of this platform

PS bis: Which is the version of Python used by Python interpreter? (I mean 2.7 or 3.4)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version