Campbell Barton
2085a42e52
pep8 cleanup
2013-06-27 03:05:19 +00:00
Campbell Barton
56e6c14e1e
fix for exception in console auto-completing an object with __getitem__ but no __len__ (BMEdge).
2013-04-30 23:01:12 +00:00
Campbell Barton
8e3d590b76
code cleanup: python/pep8 and double-promotion warnings.
2013-03-28 19:33:14 +00:00
Campbell Barton
34f3dc43e7
code cleanup: pep8 & minor changes
2013-03-11 02:19:58 +00:00
Campbell Barton
83e53afb18
patch [ #34380 ] Fix Python console bug: "autocomplete" doesn't advance cursor properly when completion includes UTF8 characters
...
from Shinsuke Irie (irie)
2013-02-24 21:51:48 +00:00
Campbell Barton
1f74789d12
Correct mathutils documentation, also correct some python spelling errors and add makefile target check_spelling
2012-02-08 04:37:37 +00:00
Campbell Barton
6e28ac2d7b
pep8 edits and avoid naming conflicts with python builtins
2011-11-24 19:36:12 +00:00
Campbell Barton
8f89e7a309
incorrectly had CMake storing directory names as filepaths
...
also correct compiler warning for collada and remove print from own last commit.
2011-06-29 13:16:11 +00:00
Campbell Barton
d86d68d4e6
console autocomp import now excludes '_' prefixed variables and the results are sorted.
2011-06-29 10:47:43 +00:00
Campbell Barton
c19d2d2da2
bug [ #27779 ] Python console completion broken
...
modified auto-completion, though this may need to become a preference.
The problem is:
- including _all_ text as a prefix can take a lot of space, and isnt too readable.
- including only the previous word is error prone because detecting delimiters can fail when editing strings.
so I've set it to only include the last part of the string but align to the cursor to make it more readable.
2011-06-29 06:06:59 +00:00
Campbell Barton
90d8fcb522
improved autocompleation when there is a common prefix
2011-06-11 17:03:26 +00:00
Campbell Barton
9cf0bbb95c
added a check to console auto-compleation for pythons struct_seq type, so bpy.app and sys.float_info autocompleate their attributes rather then bring treated as a typle.
2011-06-10 09:44:27 +00:00
Campbell Barton
1f56eee953
fix [ #27495 ] Incorrect result of image name autocompletion
2011-06-10 07:22:35 +00:00
Campbell Barton
6c21f4713b
mailed Stani Michiels and he's ok to switch his console autocomplete to GPLv2 or later.
2011-02-08 00:01:15 +00:00
Campbell Barton
05bb6b5d6c
bugfix [ #24419 ] Console Autocomplete Error [Patch to fix attached]
...
patch provided by Justin Dailey (dail) in report.
2010-10-27 16:47:25 +00:00
Campbell Barton
b1e8d168d7
recent fix for relative imports broke autocomp.
2010-10-18 13:16:43 +00:00
Campbell Barton
46f89336d6
fix for autocomp., was raising an error when autocompleating functions defined in the console because their file wasnt found (which is correct in this case).
2010-07-14 14:56:33 +00:00
Campbell Barton
93bc6fb829
py console autocomp. fix
...
import missing_mod
...would raise an error.
2010-04-25 15:21:46 +00:00
Campbell Barton
3871cb78bc
autocompete was matching import_foo as import keyword.
...
breaking autocomp. on import_scene_obj for eg.
2010-02-14 12:23:25 +00:00
Campbell Barton
7fc4ab2aab
add pep8 headers so these scripts spit out errors when running pep8.
...
made some changes but mostly these scripts will give pep8 warnings.
2009-12-13 14:38:30 +00:00
Campbell Barton
926201acf8
- string copy without .py wasnt terminating the string
...
- console import autocomplete wasnt including modules defined in C like BGL, Mathutils
2009-12-07 14:09:53 +00:00
Campbell Barton
f25bc95688
missed committing this file (from Stani's patch)
2009-11-07 14:17:49 +00:00
Campbell Barton
cc2476fde5
patch from Stani, support for function arguments in autocomplete
2009-11-06 08:53:07 +00:00
Campbell Barton
ae9eae222c
Patch from Stani for autocomplete
...
adds ability to complete in these situations
bpy -> bpy.
bpy.data.objects -> bpy.data.objects["Mesh"]
my autocomplete could only do bpy -> bpy.
2009-10-30 09:34:57 +00:00
Campbell Barton
4b3fd4a8e0
replacement for my own autocomplete module by stani
...
--- from his patch
All the functionality is in the console
folder:
- intellisense.py: the central module which loads others on demand
- complete_namespace: more or less a replacement for the old autocomplete.py
- complete_import: module completion (I find this very handy, not just luxury)
These complete_* modules work very simple and should also work outside blender. You give some input and it returns a list with possible completions.
autocomplete.py is now deprecated.
2009-10-29 20:55:45 +00:00