Questions tagged [class-completion]

6 questions
8
votes
2 answers

Delphi-IDE: how to change the way class-completion works?

Class completion in Delphi is a big time-saver, but I haven't found a way to customize it. I would like a getter and setter for a property to be grouped together instead of being thrown all over my unit; The interface part is generated properly,…
Wouter van Nifterick
  • 23,603
  • 7
  • 78
  • 122
4
votes
2 answers

How can I make Class Completion include parentheses even for empty parameter lists?

I'm back in Delphi 2010 again after having worked several years in Visual Studio. I would like to make the IDE behave in a differnet way: I'd like the IDE's auto-completion to respect the parenthesis when I declare a function/procedure. Example: if…
Lobuno
  • 1,405
  • 1
  • 18
  • 28
4
votes
4 answers

In what order does Class Completion put its results?

Example: I create a new unit, declare a class with several methods like constructor, destructor, method1, method2, method3 in that order and then hit Ctrl-Shift-C. The IDE creates all the method bodies automatically, but the order is mixed up and…
Holgerwa
  • 3,430
  • 9
  • 42
  • 50
1
vote
2 answers

How to implement callBack function when screen change in react-native?

I need a function when change screen executing, I mean when from screen home navigate to about screen executing the callback function. Scenario I want make global stack when change any naviagte run callback function for some check like (userToken,…
1
vote
1 answer

Delphi: Codecompletion to override basemethods

In a class declaration, you can press Ctrl+Space to get a list of virtual methods in the baseclass that you can override. This list seems to be very limited, though. Ex. TMyBaseClass = class(TInterfacedObject) protected procedure mymethod;…
Vegar
  • 12,828
  • 16
  • 85
  • 151
0
votes
1 answer

Why does the queryString value accumulate behind the url when using a history object in response in react?

first History.push screen [example code] const { history } = this.props; history.push({ pathname: 'workspace?task=14' }); Result URL [example result] Chrome URL => http://localhost3000/workspace?task=14 but ... If I send another request…