Recent

Author Topic: I want to get rid of privacy! - methods set to private by IDE  (Read 827 times)

Nicole

  • Hero Member
  • *****
  • Posts: 1069
The IDE has a genius function: If you write a new method, you can click in German "Quellcode vervollständigen", which means in English something like "complete source code". This makes, that the new method is written or corrected into the interface block. I use this frequently.

The new method is set to "private". For my style of programming, which likes to work in topic-units, - a no go. I do not have any private methods at all, because I use them all around from my app. So my question: Is there a way to get rid of this automatically written word "private" in a better way than to delete it by hand? I deleted it thousands of times in the meanwhile.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11029
  • Debugger - SynEdit - and more
    • wiki
Re: I want to get rid of privacy! - methods set to private by IDE
« Reply #1 on: March 22, 2025, 10:08:24 am »
Not tested, but:

Tools > Options
Codetools > Class Completion

Default section of methods => select from drop down.

Nicole

  • Hero Member
  • *****
  • Posts: 1069
Re: I want to get rid of privacy! - methods set to private by IDE
« Reply #2 on: March 22, 2025, 11:55:54 am »
hm, I found it.
I changed it. I restarted the IDE.

It does not work.
They are still set to private.

Can somebody please try it?
I have a German version, there it is
Werkzeuge
einstellungen
Codetools
Klassenvervollständigung


Nicole

  • Hero Member
  • *****
  • Posts: 1069
[issue] I want to get rid of privacy! - methods set to private by IDE
« Reply #4 on: April 08, 2025, 11:12:05 am »
The IDE has a genius function: If you write a new method, you can click in German "Quellcode vervollständigen", which means in English something like "complete source code". This makes, that the new method is written or corrected into the interface block. I use this frequently.

The new method is set to "private". For my style of programming, which likes to work in topic-units, - a no go. I do not have any private methods at all, because I use them all around from my app. So my question: Is there a way to get rid of this automatically written word "private" in a better way than to delete it by hand? I deleted it thousands of times in the meanwhile.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5938
  • Compiler Developer
Re: I want to get rid of privacy! - methods set to private by IDE
« Reply #5 on: April 10, 2025, 09:00:43 pm »
Did you only quote your own post on purpose? 🤔

 

TinyPortal © 2005-2018