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

link Postgres docs when inserting SQL template from DB object tree context menu #535

Open
eug3nix opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@eug3nix
Copy link
Collaborator

eug3nix commented Oct 25, 2024

Per feedback from peer-review, it may be useful to link PostgreSQL documentation in templates inserted from DB object tree context menu.
For example:

VACUUM
--FULL
--FREEZE
--ANALYZE
--DISABLE_PAGE_SKIPPING
--SKIP_LOCKED
--INDEX_CLEANUP
--TRUNCATE
--PARALLEL number_of_parallel_workers
public.categories
--(column_name, [, ...])

The simplest thing to do here is to add a comment with the docs link, a better way would be to mark such doc links in some way and recognize them in AceEditor to be rendered using a custom widget, make link in the comment clickable etc.

@eug3nix eug3nix added the enhancement New feature or request label Oct 25, 2024
@eug3nix eug3nix added this to the 1.3 milestone Oct 25, 2024
@plucik plucik self-assigned this Nov 15, 2024
eug3nix pushed a commit that referenced this issue Nov 20, 2024
* adds hoverlink ace editor extension to support links refs: #535
* extends pgsql highlight rules to support doc links customization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants