This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271480 - Changing the method override template
Summary: Changing the method override template
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@php
Depends on:
Reported: 2017-09-14 20:49 UTC by Sarke
Modified: 2017-09-14 20:49 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Sarke 2017-09-14 20:49:11 UTC
Currently, I can type (for example) `relations` and then hit Ctrl+Space to get a nice template as such:

	public function relations()
		return parent::relations();

However, I am not sure where or if I can change this template.  It is not listed in Options > Editor > Code Templates.  I assume this is because it doesn't have a regular abbreviation.

What I would like is to edit this to create the following code:

	public function relations()
		$relations = parent::relations();

		return $relations;

Is this possible?  If not, can we make this code template editable as well?