Ticket #713 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Add QScintilla autocomplete functionality

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: critical Milestone: Iteration 22
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Nick Draper) (diff)

Investigate the use of autocomplete and call tips (perhaps even code folding) for use in the immediate window and python editor.

Initially we should include in the list all of the algorithms and the mtd.??? commands. Do not worry about pure python commands at the moment as that could be opening a can of worms.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 18 to Iteration 19

Moved as part of iteration 18 end

comment:2 Changed 11 years ago by Nick Draper

  • Status changed from new to closed
  • Resolution set to wontfix

comment:3 Changed 11 years ago by Nick Draper

  • Status changed from closed to reopened
  • Description modified (diff)
  • Summary changed from QScintilla autocomplete functionality? Is this a good idea? to Add QScintilla autocomplete functionality
  • Priority changed from trivial to major
  • Milestone changed from Iteration 19 to Iteration 21
  • Resolution wontfix deleted

Reopened for a later iteration.

comment:4 Changed 11 years ago by Nick Draper

  • Priority changed from major to critical

comment:5 Changed 11 years ago by Martyn Gigg

(In [3958]) Added code completion, call tips and code folding to the Python environment. This is implemented via two keyword files: one pre written and the second dynamically generated by the simple API. Re #713

comment:6 Changed 11 years ago by Martyn Gigg

(In [3959]) Fix test. Re #713

comment:7 Changed 11 years ago by Martyn Gigg

(In [3966]) Fix for test build. Re #713

comment:8 Changed 11 years ago by Martyn Gigg

(In [3968]) Add options to script interpreter right-click menu to disable code completion and call tips. Re #713

comment:9 Changed 11 years ago by Martyn Gigg

(In [3970]) Fix for dealing with paths from properties file when the Python framework starts up. Re #713

comment:10 Changed 11 years ago by Martyn Gigg

(In [3971]) Add MantidPlot plotting keywords to autocomplete file. Re #713

comment:11 Changed 11 years ago by Martyn Gigg

(In [3985]) Fix for possible crash when the autocomplete prepare function tries to cancel itself and then rerun. Re #713

comment:12 Changed 11 years ago by Martyn Gigg

(In [3986]) Fix for qtiplot build. Re #713

comment:13 Changed 11 years ago by Martyn Gigg

(In [3991]) Fix for MantidPlot scripting autocomplete bug under Linux and earlier versions of QScintilla. Also update autocomplete sources so that it uses the current document as well. Re #713

comment:14 Changed 11 years ago by Martyn Gigg

(In [4136]) MantidPlot scripting autocomplete now inspects objects to update auto complete information after each execution. Required that each tab + the interpreter have different dictionaries so that the autocomplete only sees information for the current script. Re #713

comment:15 Changed 11 years ago by Martyn Gigg

(In [4137]) Forgot to check in the test updates. Re #713

comment:16 Changed 11 years ago by Martyn Gigg

(In [4200]) Small fix to MantidPlot immediate window to correctly handle auto-complete behaviour. Re #713

comment:17 Changed 11 years ago by Martyn Gigg

  • Status changed from reopened to testing
  • Resolution set to fixed

comment:18 Changed 11 years ago by Nick Draper

  • Status changed from testing to closed

Tested in both script and immediate window

Tested on svn 4205

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1561

Note: See TracTickets for help on using tickets.