thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

PyStudio Config: Should use __dirvar_py__.cfg #211

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What Plugin does this relate to? What version of the Plugin?
PyStudio 0.4

What steps will reproduce the problem?
When running pyanalysis from pystudio, I need to select the python to use  from 
the PyStudio Config panel.   Can PyStudio just use the settings from dirvar 
file for the project that the current file is from?  

What is the expected output? What do you see instead?
Settings from __dirvar_py__.cfg, what ever was last selected in PyStudio config.

What version of Editra are you using? On what operating system?
0.7.08 - Platform Info: (linux2, python 2.7.3,wxGTK 2.8.12.1, unicode, gtk2, 
wx-assertions-off, SWIG-1.3.29)

Please provide any additional information below.
There might be two requests going on here, but if I have __dirvar_py__.cfg 
files, then editra and the plugins should make the most of them, instead of 
having me.
1) Have PyStudio use __dirvar_py__.cfg settings
2) Have Editra /Plugins auto-switch based on where the current file is coming 
from?

Original issue reported on code.google.com by dunde...@gmail.com on 9 Aug 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Perhaps the Python setting (and others) in __dirvar_py__.cfg could override 
PyStudio Config panel setting(s)

Original comment by rans1...@gmail.com on 16 Aug 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Yes, that should probably be the behavior if we want to keep support for the 
dirvar file.

However, I think it would be better and more maintainable to move to using the 
new PyProject configuration file and drop the support for this type of 
configuration file. The pyproject configuration interface needs a little 
refinement but has all the facilities for storing and retrieving this type of 
data in xml format on a per-directory, per-file manor if we wanted to.

Original comment by CodyPrec...@gmail.com on 16 Aug 2012 at 3:13