Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349745 - Generate getters and setters does not allow customizing prefixes or suffixes
Summary: Generate getters and setters does not allow customizing prefixes or suffixes
Status: RESOLVED DUPLICATE of bug 273529
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 23:37 EDT by tmandry CLA
Modified: 2011-06-18 10:52 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tmandry CLA 2011-06-17 23:37:48 EDT
Build Identifier: 20110301-1815

The "Generate getters and setters" feature seems to be hardcoded to use "getXXX()" and "setXXX()" named functions, and does not allow customizing prefixes or suffixes (i.e. if I want my getters to use the Qt-style plain "XXX()" and setters to be "setXXX()".)

Reproducible: Always

Steps to Reproduce:
1. Right click in editor
2. Source -> Generate getters and setters
Comment 1 Marc-André Laperle CLA 2011-06-18 10:52:43 EDT
This feature is available in CDT 8.0 > 20110425. You can change that in the preferences, C/C++, Code Style, Name Style.

*** This bug has been marked as a duplicate of bug 273529 ***