* Move the tests out to their own tasks
* Revert change
* Lets try this
* Actually reference to the tests
* Lets try this
* lets try this too?
* this one?
* Manually define them :(
* Formatting
* Add the node command
* Fix machine learning and address comments
* Adds heading dropdown to markdown toolbar.
* Added a method specific to headings that places markdown at beginning of line selected.
* Rewrote comment for my new method.
* Revised code to support multi select for headers, similar to how unordered list is applied. Multi-line headings can be undone if the multi lines are selected.
* Modified transformText to make single-line undo operation possible with just the cursor position.
* Added utility methods to help determine if the selection is a line-only or multi-line.
* Building isReplaceOperation to determine when preceeding characters need to be replaced with a new MarkdownButtonType.
* Updated comments.
* Applied changes written by Chris.
* Reverted changes to earlier stage where heading addition works just like list item additions.
* getExtendedSelectedText now returns an actual value in range for MarkdownLineType.EVERY_LINE.
* Added conditional so that Preview element is updated only when Preview is enabled.
* Updated tests for heading toolbar: heading 1, 2 and 3.
* Removed code that could not be reached.
* Corrected tests for headings.
* wip
(cherry picked from commit 43deb9635cc0eeebaffef22d4373f1f6ad713ace)
* cleanup
* fix error
* Fix tests
* Add more testing
* delete
* re-add
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Schema compare tests for updateSourceAndTarget method
* Merge conflict resolution
* Move resetbutton call before adding them to toolbar
* PR comments- added a buttons interface for readability and created a test class to add test functionality to the orginal class
* Moved interface ButtonState to test code
* show error when trying to create file or folder that already exists
* add test for file that already exists
* add folder tests
* fix error messages
* hide Properties folder
* update comment
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* fix word wrap support in the message panel
* fix width on message treee
* fix import
* fix settings editor to reflect the changes in the settings ids
* fix tests
* add configuration upgrader
* make sure to maintian execution order
* make the compiler happy
* add tests for upgrader
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* udpate import to have friendly names for the extract file organization options
* update tests
* update message
* remove camelcase stuff
* use localized constants instead of enum
* Change Azure region dropdown to use azurecore API for getting display name
* Fix compile errors
* Adding a few things to the vscodeignore
* and another
* -Added check all null checkbox
* Modified declarative table to add check all columns in the column header
* -changed to using existing methods for firing events.
* -changed table height to auto
-center aligned data in table cell
-Check all generates event for only changed values
* -changes column header from text to column header (#10787)
* This fixes the weird angular stuff - we need to do this in every other component
* -added changes made by amir for dom object tracking
-added automatic checkall detection.
-made text-align center in table cells
* -fixed styling issues and issue with checkboxes
* -Removed unsued function
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* Added toggle preview button to Markdown toolbar. Revised components, theme and styles to present the preview as a second column beside the markdown.
* Added showPreview to model and began working on togglePreview.
* Uncommented use of cellModel.showPreview
* add cell model event for onPreviewChange
* Renamed my showPreview boolean to prevent confusion with local boolean used in toogglePreview.
* Added CSS class when preview is enabled. Adjusted styles accordingly.
* Swapped icon show/hide references for correct sequence. Modified updatePreview to include state of doShowPreview.
* Added check for isEditMode so we can run togglePreview and show it once editor closes.
* Added listener to code.component that triggers layoutEmitter on changes to peview.
* Renamed local boolean doShowPreview. Removed unneeded code. Fixed ambiguity in my use of booleans, adding a getter and setter to textCell.
* Cleaned up implementation of new get/set for toggling preview.
Co-authored-by: chlafreniere <hichise@gmail.com>
* Added code to remove multiple separators from more actions menu.
* Moved check for separators after list is deduped.
* Logic cleanup
* Added unit test for cell toolbar ellipses menu.
* Fix tests
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Setting up tests on import extension
* -Added API wrappers for all the azdata and vscode APIs to make them easily mockable
-Added some unit tests for the import extension
-Some code logic separations
* -added code report for the import extension in ci
* changes code coverage to 36%
* adding some comments
* Removing unnecessary exports
* -refactored test code to replicate src structure
-some changes mentioned in the pr
* removed unnecessary prefixes from test case name
* get children of unexpanded books
* highlight item inside collapsed parent in treeView
* fix path issue on windows
* refactor common code into separate func
* refactor
* don't allow adding duplicate database references
* add test
* addressing comments
* remove XML checking from databaseReferenceExists()
* change to get
* fix for windows path to show in project tree across platforms correctly
* allow retrying on project that failed to load
* test for project failed to load case
* Adding platform safe uri for database ref in tree
* Added providerRegistered test
* test for EditConnectionDialog
* changed wording
* added test for connectionInfo
* utils.ts tests added
* hasRegisteredServers test
* commented out editconnection tests, addl. tests
* added onConnectionChangedNotification test
* added changeGroupId tests
* Added connection profile changes
* added connectIfNotConnected test
* added delete connection test
* isRecent and disconnect editor tests
* added registerIconProvider test
* Fix for ensureDefaultLanguageFlavor test
* added a few tests
* utils prefix test updated
* added utils tests
* load database name from profile.xml
* load sqlcmd variables from profile
* Add warning text
* add tests
* fix file filter for windows
* add comments
* show SQLCMD variables in a table
* reset dialog before testing readPublishProfile callback
* Fixed scroll to top
* removed brackets
* Don't trigger the cellSelectionModel when className is the resizable handler
* Added message for header listener
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* Fix leak
* We don't need the full connection profiles for drag drop control
* Remove unused code
* Change test definition
* Change test definition
* Change equality check
* Setting up tests on import extension
* -Added API wrappers for all the azdata and vscode APIs to make them easily mockable
-Added some unit tests for the import extension
-Some code logic separations
* -added code report for the import extension in ci
* Did some more code refractoring
* -Added json report generation
* updated vscodetestcoverage to latest version in import extension.
* -remove duplicate codecoverageConfig.json
* able to drag objects from left pane
* changed scheme from file
* base functionality working
* extended functionality to tables
* added string literals and formatting
* cleanup
* cleanup
* added table/column parsing
* removed bad logic
* updated to use metadata
* cleanup and added sql carbon edit tags
* moved changes from vs into sql code base
* refactoring drag and drop
* cleanup
* cleanup
* cleanup
* added unit tests
* pr changes
* moved treeMock file
* fixed small bug
* add system database reference for VS
* a few fixes
* update tests
* update tests
* fix tests after merge
* addressing comment to make logic a little more clear
* fix replacing SSDT reference name in tree
* Added some logging and disabled half of the tests for sql database projects
* Comment out data souces tests, a probable test failure
* Used skip instead of actual commenting out of code
* Adding reading SqlCmdVars from project file
* organized apiWrapper, added calls
* Adding test to confirm deployment/script gen profiles with sqlcmd vars
* convert system database references from SSDT
* remove empty ItemGroup if no other database references
* fix baseline files
* also update sqlproj if system database references were added in SSDT since the sqlproj got updated with ADS imports
* undo change
* move updating system db references out of updateProjectForRoundTrip()
* update test to have an already updated system db ref
* add clean target after merge from master
* add await
* addressing comments
* add database references to same itemgroup
* show database references in tree
* update tests
* refresh project tree after a reference is added
* addressing comments
* add validation
* Add test
* sort imports
* highlight correct notebook on navigation.
* add back behavior of highight on viewlet visible
* optimize bookViewer create
* createTreeView for every book
* -"Run current" command runs the entire selection instead of only first statement in the selection
* -brought some logic back from the old code to correct the behavior
* -Added unit tests for runCurrent command
* -Fixed a comment
* - Added checks for run input parameters
* -Added some extra checks
* -Fixed some spacing issue
* Changed to using verify instead of a counter variable
* add dacpacs
* able to add reference to appropriate master dacpac
* able to add reference to a dacpac
* Add a few tests
* fix tests
* fix wording
* fix adding reference to same database
* add project tests
* fix test for windows
* addressing comments
* Adding another test
* update tests
* fix build error
* Test code for round tripping feature
* Fixed tests. Edited updateImportedTargetsToProjFile method to push newly added import target to the list.
* Added couple more tests
* Addressed comment
Fixes bug where files located in a subfolder defined before the folders themselves in .sqlproj would result in those files not appearing in the ADS treeview
* wip
* Update to latest vscodetestcover and add tests back in
* Update to latest version of vscodetestcover
* updates
* another yarn.lock
* update version
* Revert import path change
* save not yet tested work
* Merge from master.
* Screeens Shared for Feeedback
* Code complete
* remove unneeded changes
* remove unnecessary comma
* remov wss
* remove dead code
* PR feedback
* checkpoint fixes
* PR & minor fixes
* minor fix for feature of resourceType options being optional.
* reverting experimental change
* separating out changes for future featurework.
* revert unneeded change
* review feedback fixes
* review feedback
* rename InputFieldComponent to InputComponent
* working version of custom summary page
* add option to align items in a flex- container.
* changes to support labelColor
* save work , still pending issue with labelCSSStyles
* Summary page and setting variabless in notebook.
* minor fixes.
* pr feedbck
* fix formatting issues
* pr feedback
* pr feedback
* pr feedback
* fixing docs
* summary page value setting fix
* rename children of RowInfo to items
* rename a method
* rename summary_text to evaluated_text
* rename properties of fieldInfo
* revert inadvertent change
* rename linked_texttext to hyperlinked_text and removing linking facility from readonly_text
* pr feedback
* fix setting tools variables in env and notebook
* removing saving of originalValues for EvaluatedText
* await on launchNotebookWithEdits
* await on launchNotebookWithContent
* merge RadioOptions & Options into 1
* merge ReadOnlyText, links & evaluatedText
* Samples for new generic wizard features
* fix comment
* fix assertions
* return type and comment for getClusterContext
* fix inadvertent change
* increase minimum required azdata version
* remove unneeded environment variable settings
* not leaking passwords in notebooks
* initial commit to get it working
* Change configuration to use package.nls.json
* Make the necessary plumbing
* Support multi cloud
* Move the menu item to the bottom
* Fix failing tests
* Fix the tests
* 10551 - Notebook UI: Added cell toolbar component, actions scaffolding, styles and theme colors. Removed markup for legacy, hidden hover buttons. Updated instaces of icon class: mask to masked-icon.
* Uncommented lines for CellToggleMoreActions so we can see how the ellipses currently work.
* Added EditCellAction which toggles between two icons.
* Cleaned up comments and removed some unused code.
* Copied DeleteCellAction into celltoolbarActions
* Connecting model and cell model to toolbar component for necessary context.
* Pass in cell + nb model from notebook component
* Adding context for EditCellAction so we can activate a cell via icon.
* Removed my copy of AddCellAction and simply referred to the existing one.
* Fixes to propogate cell model edit mode changes
* Added onCellModeChanged event registration to code.component.
* Moved cellToggleMoreActions into cellToolbarActions. Suppressing ellipses in code and textCell components.
* Fix adding cells
* Copied and modified ToggleMoreWidgetAction for use in cellToolbarActions. Instantiating cellToggleMoreActions and adding to toolbar.
* Removed unused markup, code and styles. Moved cell toolbar template into compoent.
* Removed double-click from textCell. Changed message to indicate where content goes - without it the cell does not have dimension and cannot be found by the user.
* Removed unused code file.
* Fixing my boo boo
* Updated AddCellAction with null coalescer. Set Promise to type: void.
Co-authored-by: chlafreniere <hichise@gmail.com>
* Add and fix Notebook tests
* Fix name
* Fix compile
* Acutally fix error
* Add Notebook title test and fix command
* Add extra check and add comments
* Remove extra show error message
* Initial changes for Import database as new project
* Functionally complete code
* Initial changes for Import database as new project
* Functionally complete code
* Resolved conflicts with latest changes. Also did some code refactoring.
* Addressed comments. Added unit tests.
* Addressed comments
* Moved ExtractTarget enum from azdata to mssql
* Addressed comments
* Fixed indentation in project templates
* Reprompt for consent
* Remove unused imports
* Fix typos
* Change the tenant we re-auth too
* Handle the prompt properly
* prompt for consent dialog
* Information message modal
* product name
* Change message per PM feedback
* Fixed the issue with wrong title in predict page
* Fixed the type of ml settings
* Increased timeout
* Fixed the bug with R package management and Windows auth
* fixed the tests
* fixed a typo
* run tests in every pipeline and include integration tests
* fix test env
* fix integration test scripts
* remove windows unit tests
* remove unused tests in integrations
* add comments
* Reworking notebook action bar functionality and appearance.
* added separator
* Revised notebookActions for collapse, clear and trusted such that they can be implemented with a boolean set to T of F and show labels or shift them into tooltip for accessibility. Updated styles for select boxes. Added toolbar icons to common icon location. Split icon definition for use as masked or background-image.
* Completed styles for action icons: collapse, clear and trusted. Added theme colors. Simplified icon behavior styles.
* Made maskedIconClass optional. Added theme colors for toolbar icons, select box border and dropdown arrow. Experimenting with adding masked icon to pseudo element so I can pull out label text from icons.
* Added icons styles to handle masked SVG elements as pseudo element beside button text. Added icons using this method to respect the color theming system.
* Adjusted styles for the cell and run all icons in notebook toolbar.
* Prepped notebook toolbar with placeholder icon for Underline action. Implemented Underline action. Added custom --wip-- ButtonMenu control, a modified copy of DropDown.
* Revised colorRegistry and corresponding notebook styles. Removed unused code from new custom control: buttonMneu. Revised icon styles to create a dropdown arrow for buttonMenu.
* Added new icon for Underline action.
* Removed comment from needed markup.
* Replaced actionItemProvider with optional undefined per DropdownMenuActionViewItem constructor.
* Cleaned up new control, removing unneeded code and referencing what the class needs. Corrected style declaration for overriding input box padding. Removed unused notebook color styles. Scoped element styles to the toolbar so others outside the toolbar are not affected.
* Removed unnecessary !important from style override.
* Removed reference to unused color entry.
* Syntax cleanup.
* Put notebook toolbar improvements behind the preview flag. This involves some conditionals and CSS classes.
* Updated icon used for Manage Packages. Created and updated styles for notebook toolbar icon spacing. Modified notebook.component contributed actions so that the label text is shifted into the title attribute. Added new icon for Not Trusted toggle.
* Replaced SVG code for not-trusted icon.
* Addressed PR feedback: changed masked classname. Revised component and CSS accordingly. Removed unnecessary instance of in-preview class. Fixed code logic that assigns label text to tooltip on incoming contributed action
* add support for schema compare to specify source dacpac
* add build and dacpac produced from build
* check if dacpac exists
* add tests
* move exists check code to utils
* fix test run failing
* WIP registerKeybind
* testing command
* Moved command to query.contribution
* Moved command to editData.contribution
* simplified command
* more simplification
* Working keybind for toggle query pane added.
* removed space
* added option to always show sql pane
* removed keybind default and changed option
* added some checks
* Added return undefined
* added handling for multiple loads
* added more error handling
* minor space change
* added explanation message
* simplification
* added changes from create new row
* added some checks
* Added return undefined
* added handling for multiple loads
* added more error handling
* minor space change
* added explanation message
* simplification
* editDataGridPanel corrected
* updated to most recent master version
* removed space at end
* added newline
* added another try catch
* changed message
* added check and message
* added clarifying message
* removed redundant try catch loop
* grid data is now backed up
* wording change
* initial build command execution
* adding tests
* Clean up test names
* update SqltoolsService release in ADS for Build
* Updating as per PR comments
* updating yarn lock
* Adding one more test for command run
* Test fixes
* remove request promise for request-light
* make sure data is a string not a json
* add configure call
* remove unused reference
* more fixes
* Move configure calls
* clean up
* fix name
* move test deps as dev
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* connection picking dialog for deploy
* add data source option
* fix errors
* merge fix
* show connection name instead of connection string if there is one
* remove unnecessary async
* async (#10292)
* Revert "async (#10292)"
This reverts commit c94139aa45d8f1d868ebd251f3016315718b56ae.
* add a few tests
* addressing comments
* remove cancel click handler
* remove text box for generate script file path because it will just open up a new editor with the script
* fix test
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* rework some code and write an inital test
* fix strict
* add more to standard test
* add to existing workflow test
* fix tests
* simplify the code
* add more tests
* remove bad import
* fix compile
* fix timestampiong
* Add Cell after current active cell
* fixed error
* more fixes
* Addressed PR
* merged with master
* Fixed the tests and code
* removed try catch and modified the test to check the method does not throw.
Co-authored-by: Rajesh Kamath <rajkashop@hotmail.com>
* - Removed PG connections in the new connection wizard
- If a PG database is active sending an error
- Removed refresh button #6611
* Added back the refresh
* -Using getConnection only once.
* -Fixed the error message
-Fixed the bugs mentioned in the PR
Co-authored-by: Aasim Khan <aaskhan@microsoft.com>
* Added Edit Connection Command
* Wip changes for new connection dialog
* Testing
* WIP commit
* added ID check to ensure connection
* wip commit
* model id check implemented
* addfooterbutton now accepts events
* wip commit
* message explaining check
* temporary change
* connectionManagementService restored
* Revert "connectionManagementService restored"
This reverts commit 9704a63184a06a33bee2648ef0a899229d117cc0.
* formatting test
* editConnection promise testing
* edit existing connection command added
* WIP Connection Edit
* disconnect added to editConnection promise
* WIP on editExistingConnection
* changed isEdit to true
* Amir/edit connection (#10112)
* Get edit connection working
* Delete unused code
* check for isEdit as well
* connection tree test added
* WIP connection management tests
* comment out test to find out what's wrong
* fix for one error
* added note about test skipped
* changed signature of saveprofile
* saveprofile fixed
* wrote working test
* added additional test
* changed message
* Fixes made
* fix for matcher
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Converted `test-extensions-unit.bat` to javascript to add a small QoL improvement that I think people will find useful: specifying which extension(s) you want to run tests for instead of commenting out lines of a script.
In addition to existing behavior being mostly preserved (node test-extensions-unit.js defaults to running all unit tests), you can specify one or more:
```
node test-extensions-unit.js sql-database-projects
node test-extensions-unit.js sql-database-projects schema-compare
```
* Add a pop up for dotnet install if not present
* Second option of default location for mac/linux
* correcting the pop up message
* remove extra dependency
* updating as per PR comments
* Put new welcome page behind preview features flag (#10099)
* import correct welcome page (#10117)
Co-authored-by: Anthony Dresser <andresse@microsoft.com>
* Using azure sql compatible query
* Included changes requested in PR for azure specific DBs and then fixed issue #9361 for contained databases.
* Made some changes mentioned in the PR
- Converted let to const
- Logging the error
* Fixes for attach to. Still need to update cache
* Don't have jupyter hardcoded
* Handle DOTNET_ROOT env var
* Fix on load
* Put behind feature flag
* Cleanup
* Error check
* PR feedback
* Changed the activation event from onCommand to startup "*"
* Refractored some code to fix the issue
* Made some PR related changes and fixed a condition where the same error was occurring when the flatFileImport has to download binaries from the internet.
* Reverted activation event back to previous state as it had no effect.
* Made changes mentioned in the PR
Co-authored-by: Aasim Shahnawaz Khan <aaskhan@microsoft.com>
* Fixing potential bad order of template loading and map construction
* Fixing bug where templates get mapped before loaded from file
* Parallelizing loading templates from file
* Addresses bug: 10062. Replaced scrollTop with getBoundingClientRect.top minus the combined height of the top tabs and action bar.
* Setting initial value of chrome offset, and checking for existence of both tool bars before getting their heights.
* fixes the video images not showing when a 2nd welcome page is opened, and replace the admin pack image
* deletes unused image
* hardcodes video image src into html
* removes dead code
* embeds require.toUrl in markup
* Adding enablePreviewFeatures check before showing the new toolbar.
* Removed unused code.
* Added hook to trigger onDidChangeConfiguration -- this makes the UI change after user has checked or unchecked, without having to restart the app.
* Initializing the component with the current config value of enablePreviewFeatures.
* layout properties in 2 columns
* fix height after collapsing
* update with reflow values
* set height better
* cleanup
* fix crashing when resizing while properties widget is loading
* Switch to grid layout
* Only two columns max
* Update comment
* Undo color change
* Cleanup
* Fix test
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* makes the preview button hover state stay active when hovering over tooltip
* fixes the duplicating list on the extension pack when a 2nd welcome page tab is opened
* Markdown editor toolbar - initial commit
* Moved icons. Refactored new toolbar component to include markup.
* Edited markdown toolbar component and referencing in textCell component markup.
* Completed UI updates for selected cell toolbar and markdown toolbar.
* Modified import path to Event class. Changed EventEmitter to Emitter.
* Cleaned up newly added toolbar components
* Works sometimes sometimes editor is null
* Removed commented out code and styles. CellToolbar and MarkdownToolbar: moved component markup into html file.
* Added icon for highlight. Removed more commented code. Re-scoped two styles to their parent components. Corrected templateUrl reference for the new toolbars.
* Adjusted paths to SVG icons from toolbar stylesheet.
* Add lists and links
* Refactor out of component, add actionbar
* Support for nothing selected, quick bug fix
* Updated split view icons. Added markdown tool backgrounds and cell border colors to color registry and parent components. Updated toolbar icons to use mask as this allows the SVG icon colors to be adjusted on theme change.
* Added colorRegistry entries for code cell. Removed colors from styles. Running registerThemingParticipant from code.component.
* Revised code component style rules and corrected syntax.
* Merged in Chris' working branch and removed unused markup.
* Corrected styles and moved another color into colorRegistry for use in new markdown toolbar.
* Corrected style error. Overrode left position of content inside textCell and codeCell. Added more entries to colorRegistry.
* Moved toolbar and editor icons to common-icons location. Updated related stylesheet. Revised color theming rules for markdown and code cells.
* Added themed border between markdown and preview. Moved all notebook themes into notebookStyles.ts
* Merged in latest from origin/master and included a small but significant style tweak to light theme code cell toolbar.
* Add Undo Support for Markdown Toolbar (#9915)
* Remove comment
* Renamed registered notebook colors and prefixed with notebook. Moved markdown component theme colors into notebookStyles.ts. Removed colors from cellToolbar styles. Revised icon class names to generic names for better re-use. Removed commented markup.
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
* Added Notebook telemetry for livesite
* added back the metadata retension code
* Unified Telemetry services
* fixed names
* Fixed texts to use new NullAdsTelemetryService
* Validate GUID before sending it
* made GUID check a bit more robust
Co-authored-by: Rajesh Kamath <rajkashop@hotmail.com>
* WIP sash fix
* stuff to fix
* working mostly
* added tabbedPanel fix
* added null checks
* removed additional space in editdata.css
* wip change for border-top
* Fix for query editor and editdata colors in modes
* removed junk additions for panel.css
* fixed div and classes for editDataGridPanel,
* small optimizations
* Small tweaks
* simplified color checks
* test commit
* Test changes
* no need for important
* updates made
* removed small space
* initial changes for actionbar collapsing
* fix more not always all showing after resizing
* collapse toolbar if window size is already small when dashboard is opened
* make wrapping default behavior and collapse opt in
* fix so keyboard navigation works in overflow
* more keyboard fixing so that the actions in overflow get triggered
* change overflow background with theme
* change margin
* udpate more button
* use icon for ...
* addressing comments
* overflow css changes to match portal
* arrow navigation working
* handle tab and shift tab in overflow
* keep arrow navigation within overflow
* move reused code to helper methods
* set roles for overflow
* use actionsList instead of document.getElementById all the time
* move collapsible action bar to its own class
* renamve to overflowActionBar
* fix focus rectangle around more element
* hide overflow after an action is executed
* hide overflow when clicking an action
* hide overflow when focus leaves and loop focus within overflow when using arrow keys
* fix double down arrow to move focus in overflow
* update comment
* fix clicking more not hiding overflow
* add box-shadow for themes
* fix hygiene error
* fix hygiene error
* widen focused outline for overflow actions
* move properties widget collapse to bottom
* fix double bottom border for high contrast
* show title when collapsed
* move css to classes
* vertical center collapse icon
* adds icons for welcome page
* updates markup and styles for welcome page
* updates color registry with welcome page colors
* updates styles for welcome page
* updates markup for welcome page
* updates theming styles for welcome page and adds date since last opened functionality on history items
* adds all icons and images for welcome page
* updates markup for welcome page
* updates styles for welcome page
* updates color registry with welcome page styles
* updates welcome page icons with microsoft flag and dark theme home banner
* updates welcome page markup
* updates dynamically generated extension list
* updates styles for welcome page
* updates markup for welcome page
* adds dynamic lists for extension pack individual extensions
* updates icons for welcome page
* updates styles for welcome page
* updates welcome page styles
* updates theme colors
* updates markup for welcome page
* updates color registry with welcomepage colors
* updates sql.de.xlf with copy for welcome page
* reverts generated file
* updates welcome page styles
* updates extension pack copy casing
* updates color registry with welcome page styles
* updates welcome page markup
* adds welcome page icons
* updates welcome page markup
* updates welcome page icons
* updates welcome page styles
* reverts color registry in vs folder to original state
* moves color registry to sql folder
* removes dead code, localizes dates
* updates welcome page styles
* moves all colors from css to color registry
* updates styles by removing all colors
* removes stat import because of laying issue, adds color registry colors to welcomePage
* updates welcome page font sizes to ems
* updates localized strings
* removes unnecessary comment
* removes double quotes around string key for single quotes
* updates welcome page styles
* updates color registry
* updates welcome page markup
* adds dropdown button functionality
* adds centering classes for installed button text
* updates welcome page styles
* updates markup and styles for welcome page
* removes icon attempt from color registry
* removes theme specific icon svgs for theme specific icon css
* removes unused import
* removes console.log
* adds back mac new file button
* removes unused rules
* updates markup
* updates markup
* updates extension links to link to extensions in ADS
* pulls in changes from welcome-page-reskin-anthonydresser
* adds back code-icon to vs folder
* reverts welcomePage.css
* removes duplicate color registry variables
* fixes icon overlap on text for mac
* removes null import
* updates welcome page styles for mac
* updates welcome page images to use sql folder
* updates welcome page markup
* updates welcome page styles
* updates styles
* updates files paths
* delete images from sql folder
* updates icons
* updates welcome page styles
* updates preview popup
* updates markup for accessibility
* adds hover state to tiles
* updates dropdown
* fixes line-height issue
* updates class names
* updates keyboard accessibility for tooltip
* format document
* updates accessibility for preview tooltip
* removes whitespace
* updates preview modal accessibility
* adds aria labels to popup and tooltip
* removes max-width for zoom
* removes escaped strings, adds keycodes to promises, marks function as async and has the return as the signature of the function
* moves keycoes to class, removes comment
* fixes promise
* testing promise
* testing promise
* promise test
* localizes copy
* uses keycode import
* removes unnecessary arguments
* formating
* refactor constructor into async function called by constructor
* attempts to fix floating promise
* removes floating promise
* moves icons and images to sql folder, removes unused icons
* uses icons already existing in ads
* updates styles
* updates color registry
* updates keycode events
* fixes issues per charles comments
* moves icons to media folder
* updates image file paths
* updates file path
* adds href to extension pack extensions
* fixes links
* fixes issues per alan's comments
* uses exisiting colors from color registry
* updates welcome page to use existing colors from color registry
* updates dark theme
* updates color registry
* updates dark theme
* formats css
* fixes dropdown arrow icon on mac
Co-authored-by: Anthony Dresser <andresse@microsoft.com>
* initial changes
* Enable cloud console
* Delete unnecessary code
* error handling
* error handling
* Deal with promises
* Fix externals
* Fix externals for ws
* Cleanup name of terminal
* Update yarn.lock
* Fix yarn.lock
* Fix externals
* Cleanup parts of the code
* Fix more issues
* Fix cloud terminal
* Go back to our client ID
* Fix message
* Respect preferred location
* Fix govt cloud
* Some more messaging
* Enable items on right click
* Some feedback
* Change to status message
Adds the ability for the user to select from two or more linked azure accounts, using an integrated UI dialog, when executing a query that requires a Always Encrypted column master key located in Azure Key Vault.
* Fix the select box issue
* map => forEach
* Fix tests and a product issue
* Maybe another potential fix
* Fix a few more issues
* Change backendValue to value
* localization
* Use Array.isArray
* dashboard improvement - WIP (#8836)
* wip
* wip
* tabgroup
* tab group
* agent views
* clean up
* formats
* feedback
* fix error
* contribute top level server/db dashboard tab (#8868)
* tabbedPanel component (#8861)
* tabbed panel
* tabbed panel
* fix errors
* revert main.ts changes
* use margin
* address comments
* remove orientation property
* content tab group (#8878)
* add databases tab
* use more extensible approach
* remove unnecessary code
* add when expression
* objects tab for database dashboard (#8892)
* fix build errors
* fix build error
* Dashboard toolbar (#9118)
* remove old toolbar with only edit and refresh
* remove tasks widgets from server and databases dashboards
* adding toolbar to dashboardpage and clicking new query works
* restore and new notebook now do something
* add backup to toolbar for database dashboards
* new notebook connects to db
* only show backup and restore for non-azure
* new backup and restore svgs
* clean up
* got toolbar actions to show up from contribution
* some cleanup and add database dashboard toolbar contributions
* don't show all tasks when there should be no tasks
* fix toolbar showing multiple times when switching opening another dashboard from OE
* only show toolbar for home page
* update to new icons - same icons for light and dark theme
* don't show separator if there aren't any actions
* read toolbar actions from tasks-widget
* remove tasks widget from home dashboard page
* show extension's actions in toolbar
* clean up
* more cleaning up
* fix extension actions not always loading the first time
* add configure dashboard
* remove old edit icon css
* change tasks back to original order
* make sure tasks widget is the one being removed
* collapsible tab panel (#9221)
* collapsible vertical tab panel
* fix lint error
* comments batch 1
* pr comments
* update new query icon (#9351)
* Update toolbar actions (#9313)
* remove edit and configure dashboard and add refresh to toolbar for other dashboard pages too
* Add refresh for tabs that have container type with refresh implemented
* change refresh to only refresh the current tab
* remove map for tab to actions
* add back configure dashboard to home toolbar
* check if index is -1 before trying to remove tasks widget from widgets
* Move objects widget back to database home tab (#9432)
* move objects widget back to database home tab and reorder toolbar
* change order of actions back to previous order
* Allow extensions to add actions to home toolbar (#9269)
* add support for extensions to add actions to home toolbar
* fix spacing
* use menu contribution point
* undo previous changes that added dashboardToolbarHomeAction contribution
* remove home from name
* add context key for tab name
* allow actions to also be added to the toolbar of other tabs
* add extension contributed actions even if no tasks-widget
* fix refresh being added twice after merging
* hide the tab list when collapsed (#9529)
* update the order of css selectors (#9606)
* Update dashboard style to be closer to mockups (#9570)
* update style to be closer to mockups
* tab panel styling
* change back tab styling for tabs in a tab contributed by an extension
* change color of borders when theme changes
* set dark theme active tab background to same as OE for now
* update border colors
* move colors to theme file
* fix a few issues (#9690)
* couple fixes
* comments
* small dashboard toolbar fixes (#9695)
* fix backup icon in toolbar
* fix database page toolbar border color
* add back center center in common-icons.css (#9703)
* change padding so bottom border shows again (#9710)
* tab panel fixes (#9724)
* tab panel fixes
* fix package.nls.json
* feedbacks (#9761)
* feedbacks
* remove comments
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
* Handle webmode
* Fix keytar
* Specify that it can be null too.
* Configuraiton option
* Fix callback URL
* Update message, only show if the user is on Linux
* Change message
* Connection management service work
* Fix tests
* Change how accounts are deleted
* Be consistent with names
* feedback
* Fix based on feedback
* Change sqltoolsservice version
* async-await install service; add check for the files after downloading
* remove del
* use the same function for installing service
* fix for unix
* fix ssmin on linux
* fix syntax
* fix script
* fix issue
* Work around coveralls parallel upload issue
* Make dir
* Fix extension paths
* Revert "Fix extension paths" (#9639)
This reverts commit 4598561f858a62b49de5f951de95c099889a85b2.
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* address untitled editor file name differences; remove feature for updating title for untitled to content
* add tests for new methods
* fix tests
* fix up tests
* remove unncessary await
* revert changes to title for content
* Prevent check in openerService for cmdregistry
* Revert "Prevent check in openerService for cmdregistry"
This reverts commit c40079e6f38dcd379941474accc1a1e3b42f6103.
* Add internal command that calls extension command
* Add comment
* initial commit
* Add Reveal in Books editor tab context option
* Select item in books viewlet automatically
* changes
* easier than i thought it'd be
* added file watcher on toc file v1
* Merge from Feat/create book
* Undo Merge from Feat/create book
* Use fsPath instead of path
* repen book on toc update
* update book in-place
* fix close book
* error handling for closeBook
* PR comments
* addressed comments
* moved the watch block to try ,watch vs watchFile
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
* add schema compare to database connection context menu
* don't show dacfx and schema compare in context menus for system dbs
* Remove checks for system db
* undo whitespace change
* Add Reveal in Books editor tab context option
* Select item in books viewlet automatically
* changes
* easier than i thought it'd be
* Merge from Feat/create book
* Undo Merge from Feat/create book
* Use fsPath instead of path
* PR comments
* Fix tests
Co-authored-by: Maddy <12754347+MaddyDev@users.noreply.github.com>
* added secondary action
* create book command
* open as untitled
* create toc.yml and update title
* added comments
* throw error if filenames have unsupported chars
* update prompt message
* remove the toLocaleLower
* added await
* moced createbookpath out of the command handler
* removed tolocalelower and added comments
* moved the formatting and file handling code from core to notebook
* fixes for contents with folders
* collapse the code cell
* remove output
* reused existing command to open book
* comment typu and added await
* some optimization
* check for table
* fix table resizing
* Fix for sash crash
* Removed space
* small optimization
* small change in message
* small change
* changed wording
* removed timeout for onResize
* Removed onGridRendered
* fix isCellOnScreen
* small spacing fixes
* removed timeout in gridParentComponent
* fix for indexing
* reduced instances of "self"
* minor fixes for self and this
* Checkpoint
* Adding mock contents for tree
* added open sqlproj dialog
* reading files from directory
* Added directory traversal
* Adding tree sorting by folder vs file and label
* Improved auto-unfolding of tree based on node type
* replacing fs with fs.promise alias
* PR feedback
* added activation event for when workspace contains sqlproj files
* Returning after displaying error
* Fixing linter errors
* Reworked tree
* Fixing missing grandchildren
* Correcting tree URI construction
* Refactoring to isolate tree item responsibilities from data model responsibilities
* project file parsing
* constructing tree from project files rather than filesystem
* Fixing double-initialization
* Changing projectEntry to take enum for file type
* Correct node type for project item
* Parsing datasources.json
* Child nodes for sql data source
* Localizing strings
* Checkpoint
* Adding mock contents for tree
* added open sqlproj dialog
* reading files from directory
* Added directory traversal
* Adding tree sorting by folder vs file and label
* Improved auto-unfolding of tree based on node type
* replacing fs with fs.promise alias
* PR feedback
* added activation event for when workspace contains sqlproj files
* Returning after displaying error
* Fixing linter errors
* Reworked tree
* Fixing missing grandchildren
* Correcting tree URI construction
* Refactoring to isolate tree item responsibilities from data model responsibilities
* project file parsing
* constructing tree from project files rather than filesystem
* Fixing double-initialization
* Changing projectEntry to take enum for file type
* Correct node type for project item
* Parsing datasources.json
* Child nodes for sql data source
* Localizing strings
* missed file in merge
* changed extension method to helper
* cleanup
* Adding docstrings
* remove required from dropdowns
* set required for dropdown
* also set required for editable dropdown
* add back required for db and server dropdowns
* add back to required to databaseLoader
* Even more robust handling of extension tree loading
* Fix initial loading and add new test for CMS
* Fix compile errors
* Fix logic
* Remove debug log statements
* Support for removing hardcode deployment options
* Add missing file
* Generalize errors and make name and id required. Sort dropdowns.
* Fix test
* Capitalize text
* set dirty for editdata to false (prevent backup)
* small wording change
* Temporary fix for issue
* using proper fix
* Used editInputData onDidChangeDirty
* Moved all code to editDataInput
* Implemented fix from notebooks into editdata.
* Fix for unregistering copy service
* Fix in QueryEditorService
* add handling in case of changes made while editing
* Small optimization, removed setdirty in sql check
* moved onDidChangeDirty to EditDataInput
* some text changes
* small fix for consistency in slickColorTheme
* another commmit
* Now shows blank grid, nullcheck in queryhistory
* renamed onAngularLoaded to onComponentLoaded
* removed whitespace
* removed unused dataservice import
* now displays data, need to fix contextmenu actions
* minor changes
* another small commit
* added timeout for context menu
* updated queryhistoryserviceimpl
* removed log
* added commented out contextmenuregistrations
* context menu now shows up need to test
* added plugin registration WIP
* another commit
* yet another commit
* added wip function
* Clean up commit
* more cleaning up
* removed accessor
* renamed instances of parts
* updated
* fixed merge conflicts
* refactored bootstrapparams
* fixed code
* small changes to format
* set editable to true for testing
* added more options
* moved options to separate variable
* added texteditorclass for later
* added rudimentary create editor support
* changed grid.resize.emit to fire
* added formatterfactory
* added tslint disable
* removed debug message
* added more functions from Slickgrid.ts
* added wip handlechanges function
* another change
* added columndefinitions
* Managed to display table using handlechange
* added ability to edit for now
* added changes to table creation
* added setupevents
* added onInit
* fixed sql.xlf
* minor changes
* tidying up
* more cleaning up
* changed console.log messages to debug ones.
* added this.enableEditing
* made changes to getoverridabletexteditor
* fixed opencontextmenu
* added timeout for detectChange
* need to find way to run oncontext asynchronously
* check stuff
* oncontextmenu now no longer constantly refreshes
* added oldDataRows for future use
* add check for datarows
* small changes made
* set enableediting to true
* more changes
* added additional information for handlechanges
* another change
* more changes
* set enableediting to true
* fixed rerender
* added small test mssage for jquery
* text editor is in getOverridableTextEditorClass()
* removed debug messages
* added transparency for input.editor for table.
* need to find out how to add editing for input
* Added grid div to make slickgrid style work
* reinstated selected.
* disabled selectedcellcssclass
* restored selected
* removed selectionmodel due to not being found in the original code
* Added externalSelectionModel for correct results
* removed selectionmodel as its not used.
* WIP work on refreshresultsets
* temporarily bringing back selection model for now
* added getSelectedRanges from slickgrid into Table
* added getselectedranges from slickgrid into table
* small cleanup changes
* removed detectchanges
* removed last of detectchanges
* return of toprownumber
* no need for toprownumber
* removed isColumnLoading
* some small formatting
* fixed null check
* added back todo comment
* Added fix for context menu
* small change
* added missing value to getFormatter in grid panel
* added fix for last row italics
* added fix for null inconsistencies
* Some consolidation
* added new check for null cells
* minor change
* add check for selections (usually undefined)
* removed null check in formatters
* Some changes made
* changed plugins array
* removed todo
* renamed some variables
* deleted html file
* Moved height and width to editData.css
* added box-sizing for slickgridcontainer
* fixed editdatagridpanel css
* added small changes
* More minor changes
* removed params
* renamed refreshResultsets to refreshDatasets
* removed the stylesheet.remove lines
* added fix for null
* removed tables
* removed spaces in refreshGrid
* More minor changes
* optimization and formatting
* removal of unnecessary lines
* replaced firstRender in some parts with firstLoad
* Added timeout fix
* minor changes
* Still testing
* cleanup
* restored 200 timeout
* added styling changes for editdata
* removed angular2-slickgrid and added styling
* Small formatting changes to editDataGridPanel
* consolidation
* Fixes for broken notebook experience
* add sql carbon edit
* sql carbon edit
* add another sql carbon edit for import
* Set untitledResource instead of no resource
* Implemented match case and whole wrd
* removed unused ref
* renamed test method
* escape \
* refactored search
* added more tests
* updated tests appying match case and whole word to spcl characters
* regex update
* spcl to special
* non-capturing group added to the regex
* test
* Fix new editor windows to open with global connection
* Fix test
* Fix tests
* Move logic to queryInputFactory
* Remove unused function
* Remove unneeded check
* Add tests
* Added fix for italics for last row
* Added null handling in formatters
* Fixed issue with null not italicizing on grid
* small formatting fix
* some consolidation
* removed null check
* minor change
* removed null check in formatters
* updates to existing book tests
* notebookFindModal tests
* remove commented code
* undo book test changes
* undo book test changes
* resolve the find array
* additional tests
* add test for schema compare include exclude
* combine a few checks
* small fixes
* add testData folder to whtiespace check exclusion list
* addressing comments
* fix testData path in gulpfile.hygiene.js
* move change up a couple lines
* Adds rule for .icon extensions
* revert
* Fixed issue and formatted for consistency
* reverted change for regular menuentryaction
* changed id back to old name
* Removed comment
* removed space
This change adds to handlers to unexpected promise rejection scenarios.
This PR fixes#8640
* add handlers for promise rejections
* Displaying all tools load errors
* Update toolBase.ts - setting errorMessage to be displayed in the additional information field
* disable the select button when tools not discovered
* PR fixes
* Adding mock contents for tree
* added open sqlproj dialog
* reading files from directory
* Added directory traversal
* Adding tree sorting by folder vs file and label
* Improved auto-unfolding of tree based on node type
* replacing fs with fs.promise alias
* added activation event for when workspace contains sqlproj files
* Returning after displaying error
* initial commit
* get notebook content
* skeleton for find in notebookModel
* add search function and keyboard shortcut
* add command for hiding find widget
* started on search logic
* continue search logic
* continue search logic
* add findcountchange listener
* notebook find position
* added css class
* hide find widget
* focus find input
* search for multiple occurrences in one line
* start notebook find decorations
* start adding decorations to notebook model
* added editor_model_defaults
* added cursor position
* merged master and resolved husky erros
* initial changes added to Lucyls base implementation
* pass NotebbokRange instead of Range to decorations
* changes after merging master
* temp changes for testing
* style updates from vscode merge
* implemented the empty methods and added supporting functionality from textModel
* just a little error checking
* It gets more and more yellow
* making highlight work between code cells
* highlight only word
* remove highlight on close and maintain the position
* cleanup of unused references
* clean up
* find between code cells refactored
* highlight markdown line and scroll to it
* find index fix
* find index fix
* code clean up
* remove commented code
* tslint fix for: Cannot use global 'NodeJS'
* linting rule fixes
* deltaDecoration base implementation on the base class
* moced class defnitions from interface fikle
* updated action names
* DOM.addClass instead of overwriting
* resooved conflicts
* moved 'find' code away from notebookmodel to sep class
* moved find realted code to seperate folder
* created notebookFindModel
* clean up
* highlight color changes
* spacing and typo fixes
* highlight correct element for nested elements
* do not iterate through paragraphs and li
* find accross notebooks
* keep track of index
* clear decorations on close
* floating promises
* maintain search context
Co-authored-by: Lucy Zhang <lucyzhang929@gmail.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
We noticed that if displayName is undefined this method would return the first auth type it found as getAuthTypeDisplayName() would return undefined.
If the displayName is undefined, we would not have a matchingTYpe and it should be undefined.
This repository includes configuration for a development container for working with Code - OSS in an isolated local container or using [Visual Studio Codespaces](https://aka.ms/vso).
> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` with a web client at `6080`. For better performance, we recommend using a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Applications like the macOS Screen Sharing app will not perform as well. [Chicken](https://sourceforge.net/projects/chicken/) is a good macOS alternative.
## Quick start - local
1. Install Docker Desktop or Docker on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)
2. [Docker Desktop] If you are not using the new WSL2 Docker Desktop engine, increase the resources allocated to Docker Desktop to at least **4 Cores and 4 GB of RAM (8 GB recommended)**. Right-click on the Docker status bar item, go to **Preferences/Settings > Resources > Advanced** to do so.
> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Remote - Containers](https://aka.ms/vscode-remote/download/containers) extension.

> Note that the Remote - Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> and select **Remote - Containers: Open Repository in Container...**.
> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or using the Hyper-V engine on Windows. We recommend the "open repository" approach instead since it uses "named volume" rather than the local filesystem.
5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.
6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080) or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
Anything you start in VS Code or the integrated terminal will appear here.
Next: **[Try it out!](#try-it)**
## Quick start - Codespaces
>Note that the Codespaces browser-based editor cannot currently access the desktop environment in this container (due to a [missing feature](https://github.com/MicrosoftDocs/vsonline/issues/117)). We recommend using Visual Studio Code from the desktop to connect instead in the near term.
1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Visual Studio Codespaces](https://aka.ms/vscs-ext-vscode) extension.

> Note that the Visual Studio Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
2. Sign in by pressing <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> and selecting **Codespaces: Sign In**. You may also need to use the **Codespaces: Create Plan** if you do not have a plan. See the [Codespaces docs](https://aka.ms/vso-docs/vscode) for details.
3. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> and select **Codespaces: Create New Codespace**.
4. Use default settings, select a plan, and then enter the repository URL `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box when prompted.
5. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080) or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
6. Anything you start in VS Code or the integrated terminal will appear here.
## Try it!
This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
Note you can also set the resolution from the command line by typing `set-resolution`.
To start working with Code - OSS, follow these steps:
1. In your local VS Code, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:
```bash
yarn install
bash scripts/code.sh
```
2. After the build is complete, open a web browser and go to [http://localhost:6080](http://localhost:6080) or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
3. You should now see Code - OSS!
Next, let's try debugging.
1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
2. Go to your local VS Code client, and use Run / Debug view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
3. After a bit, Code - OSS will appear with the debugger attached!
echo -e "\n** $(date) **"| sudoIf tee -a /tmp/$1.log > /dev/null
if ! pidof $1 > /dev/null;then
keepRunningInBackground "$@"
while ! pidof $1 > /dev/null;do
sleep 1
done
log "$1 started."
else
echo"$1 is already running."| sudoIf tee -a /tmp/$1.log > /dev/null
log "$1 is already running."
fi
}
# Keep command running in background
keepRunningInBackground()
{
($2 sh -c "while :; do echo [\$(date)] Process started.; $3; echo [\$(date)] Process exited!; sleep 5; done 2>&1"| sudoIf tee -a /tmp/$1.log > /dev/null &echo"$!"| sudoIf tee /tmp/$1.pid > /dev/null)
}
# Use sudo to run as root when required
sudoIf()
{
if["$(id -u)" -ne 0];then
sudo "$@"
else
"$@"
fi
}
# Use sudo to run as non-root user if not already running
sudoUserIf()
{
if["$(id -u)" -eq 0];then
sudo -u ${NONROOT_USER}"$@"
else
"$@"
fi
}
# Log messages
log()
{
echo -e "[$(date)] $@"| sudoIf tee -a $LOG > /dev/null
comment:"Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](https://aka.ms/vscodeissuesearch). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
name:'Needs Logs',
action:'comment',
comment:"We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.\n\nTo find your logs:\n\n- Open command palette (Click **View** -> **Command Palette**)\n- Run the command: **`Developer: Open Logs Folder`**\n\nThis will open the log file locally. Please include renderer.log"
"value": "## Triage Inbox\n\nAll inbox issues but not those that need more information. These issues need to be triaged, e.g assigned to a user or ask for more information",
"editable": true
},
{
"kind": 2,
"language": "github-issues",
"value": "$inbox -label:\"needs more info\" -label:emmet",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "## Inbox\n\nAll issues that have no assignee and that have neither **feature requests** nor **test plan items** nor **plan items**.",
"value": "##### `Config`: This should be changed every month/milestone",
"editable": true
},
{
"kind": 2,
"language": "github-issues",
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks\n\n// current milestone name\n$milestone=milestone:\"June 2020\"",
"value": "### Bug Verification Queries\n\nBefore shipping we want to verify _all_ bugs. That means when a bug is fixed we check that the fix actually works. It's always best to start with bugs that you have filed and the proceed with bugs that have been filed from users outside the development team. ",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "#### Config: update list of `repos` and the `milestone`",
* Address issues in https://github.com/microsoft/azuredatastudio/milestone/55?closed=1
* Bug fixes
## Version 1.18.1
* Release date: May 27, 2020
* Release status: General Availability
* Hotfix for https://github.com/microsoft/azuredatastudio/issues/10538
* Hotfix for https://github.com/microsoft/azuredatastudio/issues/10537
## Version 1.18.0
* Release date: May 20, 2020
* Release status: General Availability
* Announcing Redgate SQL Prompt extension - This extension lets you manage formatting styles directly within Azure Data Studio, so you can create and edit your styles without leaving the IDE.
* Announcing the new machine learning extension. This extension enables you to:
* Manage Python and R packages with SQL Server machine learning services with Azure Data Studio.
* Use ONNX model to make predictions in Azure SQL Edge.
* View ONNX models in an Azure SQL Edge database.
* Import ONNX models from a file or Azure Machine Learning into Azure SQL Edge database.
* Create a notebook to run experiments.
* New notebook features:
* Added new Python dependencies wizard
* Improvements to the notebook markdown toolbar
* Added support for parameterization for Always Encrypted - Allows you to run queries that insert, update or filter by encrypted database columns.
* Bug fixes
## Version 1.17.1
* Release date: April 29, 2020
* Release status: General Availability
* Hotfix for https://github.com/microsoft/azuredatastudio/milestone/54?closed=1
## Version 1.17.0
* Release date: April 27, 2020
* Release status: General Availability
* New Welcome Page
* New Notebook features
* New Markdown editor toolbar
* Books viewlet now works with notebooks
* Improved dashboard
* Always encrypted support
* Accessibility bugs
* VS Code merge
## Version 1.16.0
* Release date: March 18, 2020
* Release status: General Availability
* Notebooks:
* Charting
* Creating Jupyter books
* Postgres extension update - Users can now authenticate to Azure Postgres servers with their linked Azure account
* Accessibility bugs
* VS Code merge
* In the next release, GitHub releases will no longer contain the binary files to the latest version. Rather, they will contain links to the latest release. This will have no impact on users using the in-app update functionality.
## Version 1.15.1
* Release date: February 19, 2020
* Release status: General Availability
* Resolved [#9145 Edit Data render the result grid incorrectly when using custom query](https://github.com/microsoft/azuredatastudio/issues/9145).
* Resolved [#9149 Show Active Connections](https://github.com/microsoft/azuredatastudio/issues/9149).
## Version 1.15.0
* Release date: February 13, 2020
* Release status: General Availability
* New Azure Sign-in improvement - Added improved Azure Sign-in experience, including removal of copy/paste of device code to make a more seamless connected experience.
* Find in Notebook support - Users can now use Ctrl+F inside of a notebook. Find in Notebook support searches line by line through both code and text cells.
* VS Code merge from 1.38 to 1.42 - This release includes updates to VS Code from the 3 previous VS Code releases. Read their [release notes](https://code.visualstudio.com/updates/v1_42) to learn more.
* Fix for the ["white/blank screen"](https://github.com/microsoft/azuredatastudio/issues/8775) issue reported by many users.
* Resolved [bugs and issues](https://github.com/microsoft/azuredatastudio/issues?q=is%3Aissue+label%3ABug+milestone%3A%22February+2020%22+is%3Aclosed).
## Version 1.14.1
* Release date: December 26, 2019
* Release status: General Availability
* Hotfix for bug https://github.com/microsoft/azuredatastudio/issues/8768
## Version 1.14.0
* Release date: December 19, 2019
* Release status: General Availability
* Added bigdatacluster.ignoreSslVerification setting to allow ignoring SSL verification errors when connecting to a BDC [#8129](https://github.com/microsoft/azuredatastudio/issues/8129)
* Changed attach to connection dropdown in Notebooks to only list the currently active connection [#8582](https://github.com/microsoft/azuredatastudio/pull/8582)
* Allow changing default language flavor for offline query editors [#8419](https://github.com/microsoft/azuredatastudio/pull/8419)
* GA status for Big Data Cluster/SQL 2019 features [#8269](https://github.com/microsoft/azuredatastudio/issues/8269)
* Resolved [bugs and issues](https://github.com/microsoft/azuredatastudio/milestone/44?closed=1).
## Contributions and "thank you"
We would like to thank all our users who raised issues, and in particular the following users who helped contribute fixes:
[](https://gitter.im/Microsoft/sqlopsstudio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
If you are interested in fixing issues and contributing directly to the code base,
@@ -59,9 +60,7 @@ please see the document [How to Contribute](https://github.com/Microsoft/azureda
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## Localization
Azure Data Studio localization is now open for community contributions. You can contribute to localization for both software and docs. https://aka.ms/SQLOpsStudioLoc
Localization is now opened for 10 languages: French, Italian, German, Spanish, Simplified Chinese, Traditional Chinese, Japanese, Korean, Russian, and Portuguese (Brazil). Help us make Azure Data Studio available in your language!
Azure Data Studio is localized into 10 languages: French, Italian, German, Spanish, Simplified Chinese, Traditional Chinese, Japanese, Korean, Russian, and Portuguese (Brazil). The language packs are available in the Extension Manager marketplace. Simply, search for the specific language using the extension marketplace and install. Once you install the selected language, Azure Data Studio will prompt you to restart with the new language.
## Privacy Statement
The [Microsoft Enterprise and Developer Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement) describes the privacy statement of this software.
@@ -121,22 +120,19 @@ We would like to thank all our users who raised issues, and in particular the fo
* olljanat for `Implemented npm version check (#314)`
* Adam Machanic for helping with the `whoisactive` extension
* All community localization contributors:
* French: Adrien Clerbois, ANAS BELABBES, Antoine Griffard, Arian Papillon, Eric Macarez, Eric Van Thorre, Jérémy LANDON, Matthias GROSPERRIN, Maxime COQUEREL, Olivier Guinart, thierry DEMAN-BARCELÒ, Thomas Potier
* Italian: Aldo Donetti, Alessandro Alpi, Andrea Dottor, Bruni Luca, Gianluca Hotz, Luca Nardi, Luigi Bruno, Marco Dal Pino, Mirco Vanini, Pasquale Ceglie, Riccardo Cappello, Sergio Govoni, Stefano Demiliani
* German: Anna Henke-Gunvaldson, Ben Weissman, David Ullmer, J.M. ., Kai Modo, Konstantin Staschill, Kostja Klein, Lennart Trunk, Markus Ehrenmüller-Jensen, Mascha Kroenlein, Matthias Knoll, Mourad Louha, Thomas Hütter, Wolfgang Straßer
* Spanish: Alberto Poblacion, Andy Gonzalez, Carlos Mendible, Christian Araujo, Daniel D, Eickhel Mendoza, Ernesto Cardenas, Ivan Toledo Ivanovic, Fran Diaz, JESUS GIL, Jorge Serrano Pérez, José Saturnino Pimentel Juárez, Mauricio Hidalgo, Pablo Iglesias, Rikhardo Estrada Rdez, Thierry DEMAN, YOLANDA CUESTA ALTIERI
* Chinese (simplified): DAN YE, Joel Yang, Lynne Dong, Ryan(Yu) Zhang, Sheng Jiang, Wei Zhang, Zhiliang Xu
* Chinese (Traditional): Bruce Chen, Chiayi Yen, Kevin Yang, Winnie Lin, 保哥 Will, 謝政廷
* Korean: Do-Kyun Kim, Evelyn Kim, Helen Jung, Hong Jmee, jeongwoo choi, Jun Hyoung Lee, Jungsun Kim정선, Justin Yoo, Kavrith mucha, Kiwoong Youm, MinGyu Ju, MVP_JUNO BEA, Sejun Kim, SOONMAN KWON, sung man ko, Yeongrak Choi, younggun kim, Youngjae Kim, 소영 이
* Russian: Andrey Veselov, Anton Fontanov, Anton Savin, Elena Ostrovskaia, Igor Babichev, Maxim Zelensky, Rodion Fedechkin, Tasha T, Vladimir Zyryanov
* Portuguese Brazil: Daniel de Sousa, Diogo Duarte, Douglas Correa, Douglas Eccker, José Emanuel Mendes, Marcelo Fernandes, Marcondes Alexandre, Roberto Fonseca, Rodrigo Crespi
And of course, we'd like to thank the authors of all upstream dependencies. Please see a full list in the [ThirdPartyNotices.txt](https://raw.githubusercontent.com/Microsoft/azuredatastudio/master/ThirdPartyNotices.txt)
And of course, we'd like to thank the authors of all upstream dependencies. Please see a full list in the [ThirdPartyNotices.txt](https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/ThirdPartyNotices.txt)
## License
Copyright (c) Microsoft Corporation. All rights reserved.
constisReleased=(quality==='insider'&&/^master$|^refs\/heads\/master$/.test(sourceBranch)&&/Project Collection Service Accounts|Microsoft.VisualStudio.Services.TFS/.test(queuedBy));
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.