Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing Create code templates does nothing #166

Closed
largomike1 opened this issue Apr 19, 2023 · 2 comments
Closed

Pressing Create code templates does nothing #166

largomike1 opened this issue Apr 19, 2023 · 2 comments
Assignees
Labels

Comments

@largomike1
Copy link

Thanks for working on this project. So far everything is working fine except I have no code templates. I clicked the button Create code templates, but nothing happens. I go back to code templates in preferences and there are no new templates. I am using version 21.4.3.063 Build 063.0100 of Oracle Sql Developer. Any assistance is appreciated.

@PhilippSalvisberg
Copy link
Member

PhilippSalvisberg commented Apr 21, 2023

Please try the following

  1. Open Preferences and type template in the search bar and click on Code Templates. You should see a screen similar to this one:

image

  1. Type utplsql in the search bar and click on utPLSQL and then on the Generate utPLSQL test tab. You should see a screen similar to this:

image

  1. Amend the preferences, if necessary and then press on the button Create code templates and afterwards on the OK button as highlighted in the screenshot above.

  2. Reopen preferences and type template in the search bar and click on Code Templates. You should see a screen similar to this one, highlighting the generated templates:

image

You can change the templates on this screen. However, they will be overwritten on regeneration. So maybe it's better to rename the templates.

To use the templates, you type the name of the template in a worksheet editor and press Ctrl-Space.

image

You can then select the template via the cursor keys and the Return key. The next screenshot shows the result for the second entry:

image

Now you can navigate with the tab keys and change the highlighted package_name.

Does this help? If not could you please describe at which step you experience a different result? Thank you.

@largomike1
Copy link
Author

largomike1 commented Apr 30, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants