Commit Graph

460 Commits

Author SHA1 Message Date
Matt Bierner 0179894e45 Use vscode.X for basic extensions and vscode.X-language-features for lang features extensions
Standardizing extension identifiers
2018-03-01 00:26:31 -08:00
Matt Bierner 22595c0137 Add icon 2018-02-28 20:51:18 -08:00
Matt Bierner 168a8fd980 Use standard name 2018-02-28 20:39:38 -08:00
Matt Bierner 691da9b3a3 Split markdown extension into markdown and markdown-basics 2018-02-28 20:37:02 -08:00
Matt Bierner ea2132e45f Cleaning up class and method names 2018-02-28 18:18:19 -08:00
Matt Bierner e1cb0377c9 Move previewConfig to own file 2018-02-28 18:14:19 -08:00
Matt Bierner dfa6e44bd3 Enable command uris in the markdown preview
These are used to support document links
2018-02-28 18:09:50 -08:00
Matt Bierner 0ec912a96c Formatting 2018-02-28 18:09:50 -08:00
Matt Bierner 6935cffe4c Move isMarkdownFile to own file 2018-02-28 18:09:50 -08:00
Matt Bierner f131ccf4e1 Move topmost line monitor to own file 2018-02-28 18:09:50 -08:00
Matt Bierner 572a763e64 Move preview to own file 2018-02-28 18:09:50 -08:00
Matt Bierner 47ec334ed9 Batch visible line updates for markdown preview
Fixes #44532
2018-02-28 18:09:50 -08:00
Matt Bierner 1846821795 Remove extra calls to isMarkdownFile
isPreviewOf already handles this
2018-02-28 18:09:49 -08:00
Matt Bierner 73d03f63b6 Only show toggleLock when in markdown preview 2018-02-28 18:09:49 -08:00
Matt Bierner 56eb1fc0de Clean up scrolling logic to be smoother 2018-02-28 18:09:49 -08:00
Matt Bierner b58272a182 Remove duplicate getBoundingClientRect call 2018-02-28 18:09:49 -08:00
Matt Bierner 9bc705805f Extract createNewPreview and make isScrolling private 2018-02-28 18:09:49 -08:00
Matt Bierner 7023d98882 Fix double click to switch to editor 2018-02-28 18:09:49 -08:00
Matt Bierner c26185b908 Route reveal line through markdown preview instead of command 2018-02-28 18:09:49 -08:00
Matt Bierner 690e37f85a Wrap markdown preview command messages 2018-02-28 18:09:49 -08:00
Matt Bierner 404bf37ce3 Clean up preview update logic 2018-02-28 18:09:49 -08:00
Matt Bierner 34a1c69624 Restore markEditorSelection
Fixes #44650
2018-02-28 14:43:55 -08:00
Matt Bierner 05e17fb91a Document getVisibleLine 2018-02-28 14:43:55 -08:00
Matt Bierner e0156e9f11 Add deprecationMessage for scrollPreviewWithEditorSelection
Fixes #44563
2018-02-28 13:00:08 -08:00
Matt Bierner 3202a39a52 Mark more properties as readonly 2018-02-28 12:48:25 -08:00
Matt Bierner e8a7a3e48e Make sure toggleLock works from the command palette 2018-02-28 12:47:15 -08:00
Matt Bierner 7200745ff3 Use clearer name 2018-02-28 12:47:15 -08:00
Matt Bierner b25638bf00 List public method before private ones 2018-02-28 12:47:15 -08:00
Matt Bierner 4fb218a337 Mark properties readonly 2018-02-28 12:47:14 -08:00
Matt Bierner 8c103aaf3c Split previewManager out into own file 2018-02-28 12:47:14 -08:00
Matt Bierner 8bbf75c069 Use "markdown.preview.*" name for commands that are preview specific 2018-02-28 12:47:14 -08:00
Matt Bierner 94ea10f938 Use more standard name for markdown preview context key 2018-02-28 11:51:50 -08:00
Matt Bierner 7d8c3bb953 Add command to toggle markdown preview locking
Fixes  #44529
2018-02-28 11:41:46 -08:00
Matt Bierner 8fff87bf4f Rename markdown pinned preview to locked preview
#44529
2018-02-28 11:25:52 -08:00
Matt Bierner d202b5fa70 Fix md preview settings not getitng applies until reopen
Fixes #44577
2018-02-28 00:51:29 -08:00
Dániel Tar 3afd4c8463 Fix error in markdown/package.nls.json (#44705)
Theere was an extra 'preview' in the message.
2018-02-28 00:39:39 -08:00
Matt Bierner 7079c83c38 Don't try opening virtual markdown preview on showSource
Fixes #44523
2018-02-28 00:36:50 -08:00
Matt Bierner a989220093 Add title to webviewCreate
Part of #44579
2018-02-28 00:25:13 -08:00
Ramya Achutha Rao 469007b4ed Update md,php display names/descriptions #44626 2018-02-27 19:04:29 -08:00
Ramya Achutha Rao 251101e6ea Use latest AI to avoid monkey patching of modules Fixes Microsoft/vscode-extension-telemetry#12 2018-02-27 13:42:26 -08:00
Matt Bierner e7d138d295 Bump markdown exension version 2018-02-27 11:23:02 -08:00
Matt Bierner df05bb1cff Fix potential null access for visibleRanges 2018-02-26 18:07:34 -08:00
Matt Bierner ecc7279182 Remove resourceColumn logic for markdown previews
Makes dynamic markdown previews always sync to any markdown document that is active instead of only ones that become active in  a specific column. The old behavior became very confusing once you start moving markdown previews about
2018-02-26 18:00:04 -08:00
Matt Bierner cfcc5c8121 Annotate param with jsdoc type 2018-02-26 17:46:25 -08:00
Matt Bierner 68c21cde76 Prevent out of range line acecss on markdown preview scrolling when user scrolls to end of document 2018-02-26 17:17:22 -08:00
Matt Bierner 6b85d3afdc Fix markdown show preview 2018-02-26 17:09:23 -08:00
Matt Bierner cfbebc3faf Fix bad merge 2018-02-26 16:52:30 -08:00
Matt Bierner 2279b4d252 Scroll sync markdown editor with markdown preview (#44454)
Fixes #19459

Syncs the markdown preview's viewport with the markdown editor's using the proposed visible ranges API
2018-02-26 16:46:54 -08:00
Matt Bierner 6b743d8c61 Prevent multiple markdown previews of the same type in the same editor group 2018-02-26 16:35:57 -08:00
Matt Bierner b34585bc6d Make sure we dispose of markdown preview on webview dispose 2018-02-26 15:51:15 -08:00