Bug 66185 - Feature request: IDE - Code auto complete for writing macros
Summary: Feature request: IDE - Code auto complete for writing macros
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 92252 92253 162052 (view as bug list)
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2013-06-26 03:44 UTC by alberto
Modified: 2024-08-03 19:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alberto 2013-06-26 03:44:19 UTC
A feature lacking in LibreOffice holding me to make the switch is the ability for the IDE to auto complete (ie. give suggestions according to the API) when writing code.

For example, when writing a VBA macro with MS Office, if I write:

"Object.", then after a couple of milisseconds (or after pressing Ctrl+Space), a drop-down list with the possible methods and variables are shown.

This makes coding a lot faster, because I don´t need to keep switching windows to consult the LibreOffice API in almost every line of code written on the web browser.
Comment 1 Cor Nouws 2013-06-26 06:09:39 UTC
Hi Alberto,
Thanks for writing this long existing wish in an issue.
I set the version against 3.3.0 - it's obviously inherrited behaviour from OOo.
Also, knowing the discussions, there are some technical reasons why this probably is not an easy to resolve issue ;)
Pls look for support with XRay and examples, forums to help you master LibreOffice scripting !
Regards,
Cor
Comment 2 QA Administrators 2015-03-16 23:41:46 UTC Comment hidden (obsolete)
Comment 3 Cor Nouws 2015-03-17 08:50:52 UTC
Is a feature request. Still valid.
Comment 4 Óvári 2015-06-23 07:46:33 UTC
*** Bug 92253 has been marked as a duplicate of this bug. ***
Comment 5 Óvári 2015-06-23 07:47:51 UTC
*** Bug 92252 has been marked as a duplicate of this bug. ***
Comment 6 Óvári 2015-10-14 09:53:43 UTC
Is "YouCompleteMe — Ultimate Autocomplete Plugin for Vim" useful here? The link below shows a demo of YCM.
http://www.alexeyshmalko.com/2014/youcompleteme-ultimate-autocomplete-plugin-for-vim/

"Quick overview
YouCompleteMe (YCM) is a fast, as-you-type code completion engine for Vim. It combines output from several sources: an identifier-based engine that works with every programming language, a semantic, Clang-based engine that provides native semantic code completion for C/C++/Objective-C/Objective-C++ (from now on referred to as “the C-family languages”), a Jedi-based completion engine for Python, an OmniSharp-based completion engine for C# and an omnifunc-based completer that uses data from Vim’s omnicomplete system to provide semantic completions for many other languages (Ruby, PHP etc). And prioritize them with a complex algorithm."

The quick overview states that YCM has a completion engine for Python.

The upcoming LO 5.1 has a feature:
"Make PyUNO provide more Pythonic behaviour (Matthew J. Francis)"
https://wiki.documentfoundation.org/ReleaseNotes/5.1#Make_PyUNO_provide_more_Pythonic_behaviour_.28Matthew_J._Francis.29

Perhaps YCM could be utilized in the IDE.

More information about YouCompleteMe (YCM) available here:
https://github.com/Valloric/YouCompleteMe

Thank you
Comment 7 Óvári 2015-10-14 09:59:56 UTC
YouCompleteMe
A code-completion engine for Vim
http://valloric.github.io/YouCompleteMe/

The bottom of the pages states that the software is licensed under GPL v3.

Thank you
Comment 8 Bubble 2017-10-23 08:19:37 UTC
VBA features: AutoComplete, Object brower, and auto change upper/lower-case are three features I pining for.
Comment 9 Sesuidar 2019-10-11 16:59:08 UTC Comment hidden (spam)
Comment 10 Roman Kuznetsov 2024-08-03 19:40:18 UTC
*** Bug 162052 has been marked as a duplicate of this bug. ***