Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"args": {
"limit": 300,
"number_of_cache_query": 20,
"timeout": 5,
"timeout": 30,
"output_in_panel": false,
"queries":null
}
Expand Down
96 changes: 40 additions & 56 deletions Main.sublime-commands
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"caption": "SQLOdbc: Start Connection",
"caption": "ODBC: Start Connection",
"command": "so_start_conn"
},
{
"caption": "SQLOdbc: Run SQL Query",
"caption": "ODBC: Run SQL Query",
"command": "so_run_sql_cmd",
"args": {
"limit": 300,
Expand All @@ -15,168 +15,152 @@
}
},
{
"caption": "SQLOdbc: Format SQL",
"caption": "ODBC: Format SQL",
"command": "sa_format"
},
{
"caption": "SQLOdbc: Clear Query Cache",
"caption": "ODBC: Clear Query Cache",
"command": "sa_clear_cache"
},
{
"caption": "SQLOdbc: Interrupt Query",
"caption": "ODBC: Interrupt Query",
"command": "sa_interrupt_query"
},
{
"caption": "SQLOdbc: Restart Connection",
"caption": "ODBC: Restart Connection",
"command": "so_restart_connection"
},
{
"caption": "SQLOdbc: Export to CSV",
"caption": "ODBC: Export to CSV",
"command": "so_tbl_to_csv"
},
{
"caption": "SQLOdbc: Transpose Table",
"caption": "ODBC: Transpose Table",
"command": "tbl_transpose"
},
{
"caption": "SQLOdbc: Remove Cache File",
"caption": "ODBC: Remove Cache File",
"command": "so_remove_cache_file"
},
{
"caption": "SQLOdbc: Initialize Metadata",
"caption": "ODBC: Get All metadata from DBMS",
"command": "meta_init",
"args": {
"include_dtype": "True"
}
},
{
"caption": "SQLOdbc: New Connection Group",
"caption": "ODBC: New Connection Group",
"command": "meta_new_conn_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "SQLOdbc: Set Password",
"caption": "ODBC: Set Password",
"command": "meta_password"
},
{
"caption": "SQLOdbc: Choose Connection",
"caption": "ODBC: Choose DBMS Connection",
"command": "meta_choose_connection"
},
{
"caption": "SQLOdbc: Delete Connection",
"caption": "ODBC: Delete Conn Group",
"command": "meta_delete_connection"
},
{
"caption": "SQLOdbc: Browse Connection",
"caption": "ODBC: Browse All Cols Under Conn Group",
"command": "meta_browse_connection"
},
{
"caption": "SQLOdbc: Update Connection Group",
"caption": "ODBC: Refresh Meta in Group",
"command": "meta_update_connection_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "SQLOdbc: Add Table to Group",
"caption": "ODBC: Add Table to Conn Group",
"command": "meta_add_table_in_conn_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "SQLOdbc: Remove Table from Group",
"caption": "ODBC: Remove Table from Conn Group",
"command": "meta_remove_table_in_conn_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "SQLOdbc: Select Connection",
"caption": "ODBC: Select Conn Group",
"command": "meta_select_connection"
},
{
"caption": "SQLOdbc: View Keymap",
"caption": "ODBC: View Current Schema",
"command": "view_config",
"args": {
"read_only": true,
"file": "keymap"
}
},
{
"caption": "SQLOdbc: View Settings",
"command": "view_config",
"args": {
"read_only": true,
"file": "setting"
"file": "schema"
}
},
{
"caption": "SQLOdbc: View Current Schema",
"caption": "ODBC: Edit ConnGroup Schema",
"command": "view_config",
"args": {
"read_only": true,
"file": "schema"
"file": "schema",
"read_only": false
}
},
{
"caption": "SQLOdbc: View Current Connection",
"caption": "ODBC: View Current Connection",
"command": "view_config"
},
{
"caption": "SQLOdbc: Edit KeyMap",
"command": "view_config",
"caption": "ODBC: Edit KeyMap",
"command": "edit_settings",
"args": {
"file": "keymap",
"read_only": false
"base_file": "${packages}/SQLOdbc/Default (Windows).sublime-keymap",
"default": "{}"
}
},
{
"caption": "SQLOdbc: Edit Setting",
"command": "view_config",
"caption": "ODBC: Edit Setting",
"command": "edit_settings",
"args": {
"file": "setting",
"read_only": false
"base_file": "${packages}/SQLOdbc/SQLOdbc.sublime-settings",
"default": "{}"
}
},
{
"caption": "SQLOdbc: Edit ConnGroup Schema",
"command": "view_config",
"args": {
"file": "schema",
"read_only": false
}
},
{
"caption": "SQLOdbc: Rename View",
"caption": "ODBC: Rename View",
"command": "rename_view"
},
{
"caption": "SQLOdbc: Zoom In",
"caption": "ODBC: Zoom In",
"command": "view_zoom",
"args": {
"zoomin": true
}
},
{
"caption": "SQLOdbc: Zoom Out",
"caption": "ODBC: Zoom Out",
"command": "view_zoom",
"args": {
"zoomin": false
}
},
{
"caption": "SQLOdbc: Sort Tabs",
"caption": "ODBC: Sort Tabs",
"command": "sort_tabs_in_order"
},
{
"caption": "SQLOdbc: Resize Window Group",
"caption": "ODBC: Resize Window Group",
"command": "resize_window_group"
},
{
"caption": "SQLOdbc: Split Right",
"caption": "ODBC: Split Right",
"command": "set_layout",
"args": {
"cols": [
Expand Down Expand Up @@ -205,7 +189,7 @@
}
},
{
"caption": "SQLOdbc: Split Down",
"caption": "ODBC: Split Down",
"command": "set_layout",
"args": {
"cols": [
Expand Down
58 changes: 21 additions & 37 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
"caption": "Metadata",
"children": [
{
"caption": "Initialize Metadata",
"caption": "Get All metadata from DBMS",
"command": "meta_init",
"args": {
"include_dtype": "True"
}
},
{
"caption": "New Connection Group",
"caption": "New Conn Group",
"command": "meta_new_conn_group",
"args": {
"include_dtype": "True"
Expand All @@ -70,36 +70,36 @@
"command": "meta_password"
},
{
"caption": "Delete Connection Group",
"caption": "Delete Conn Group",
"command": "meta_delete_connection"
},
{
"caption": "Browse Cols in Conn Group",
"caption": "Browse All Cols in Conn Group",
"command": "meta_browse_connection"
},
{
"caption": "Update Connection Group",
"caption": "Refresh Meta in Conn Group",
"command": "meta_update_connection_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "Add Table to Connection Group",
"caption": "Add Table to Conn Group",
"command": "meta_add_table_in_conn_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "Remove Table from Connection Group",
"caption": "Remove Table from Conn Group",
"command": "meta_remove_table_in_conn_group",
"args": {
"include_dtype": "True"
}
},
{
"caption": "Select Connection Group",
"caption": "Select Conn Group",
"command": "meta_select_connection"
},
{
Expand Down Expand Up @@ -169,22 +169,6 @@
{
"caption": "View",
"children":[
{
"caption": "View KeyMap (Read Only)",
"command": "view_config",
"args": {
"read_only": true,
"file": "keymap"
}
},
{
"caption": "View Setting (Read Only)",
"command": "view_config",
"args": {
"read_only": true,
"file": "setting"
}
},
{
"caption": "View ConnGroup Schema (Read Only)",
"command": "view_config",
Expand All @@ -195,19 +179,19 @@
},
{
"caption": "Edit KeyMap",
"command": "view_config",
"args": {
"file": "keymap",
"read_only": false
}
},
{
"caption": "Edit Setting",
"command": "view_config",
"args": {
"file": "setting",
"read_only": false
}
"command": "edit_settings",
"args":{
"base_file": "${packages}/SQLOdbc/Default (Windows).sublime-keymap",
"default": "{}"
}
},
{
"caption": "Edit setting",
"command": "edit_settings",
"args":{
"base_file": "${packages}/SQLOdbc/SQLOdbc.sublime-settings",
"default": "{}"
}
},
{
"caption": "Edit ConnGroup Schema",
Expand Down
Loading