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

Parenthesis are added to end of UDF in DDL statements #8781

Open
LarnuUK opened this issue Dec 26, 2019 · 0 comments
Open

Parenthesis are added to end of UDF in DDL statements #8781

LarnuUK opened this issue Dec 26, 2019 · 0 comments

Comments

@LarnuUK
Copy link

LarnuUK commented Dec 26, 2019

Issue Type: Bug

When using Tab to complete the name of an object, whenever a reference to a User-Defined Function (UDF) is made, parenthesis (()) are automatically added to the end, even if that would be invalid syntax.

If you are performing a DDL statement, such as a DROP, that is unwanted. These should only be added when needed (or possibly not at all).

Example:
Peek 2019-12-26 23-14

Azure Data Studio version: azuredatastudio 1.14.1 (f9b968c, 2019-12-24T02:35:43.481Z)
OS version: Linux x64 5.3.0-24-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 4299)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 15.56GB (0.76GB free)
Process Argv --no-sandbox --unity-launch
Screen Reader no
VM 0%
Extensions (17)
Extension Author (truncated) Version
vsc-material-theme Equ 30.0.0
admin-pack Mic 0.0.2
admin-tool-ext-win Mic 0.0.2
agent Mic 0.45.0
cms Mic 0.6.0
dacpac Mic 1.1.0
import Mic 0.12.0
managed-instance-dashboard Mic 0.3.9
profiler Mic 0.11.0
query-history Mic 0.1.0
schema-compare Mic 1.1.0
server-report Mic 0.2.1
whoisactive Mic 0.1.3
azdata-sanddance msr 1.3.9
material-icon-theme PKi 3.9.0
sql-search Red 0.3.6
vscodeintellicode Vis 1.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants