Commit Graph

26 Commits

Author SHA1 Message Date
Matt Bierner
c62f59fcae Fix map func not having this bound
Fixes #132703
2021-09-09 15:03:30 -07:00
Matt Bierner
af39918361 Organize imports in md ext 2021-08-03 13:22:46 -07:00
Matt Bierner
5f45df8330 Fix formatting
Github merge UI :'(
2021-08-02 19:54:03 -07:00
Nicholas Rayburn
72d9aa625e Fix #124276 batch markdown file requests (#124545)
* fix #124276 batch markdown file requests

* cleanup and modify return type

* Revert "cleanup and modify return type"

This reverts commit 62d62b4947.

* cleanup getAllMarkdownDocuments

* fix markdown batching

* fix var not being modified
cleanup function call
remove modulo use

* don't create a new array on each iteration

Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-08-02 19:44:56 -07:00
Matt Bierner
ff922dc231 Use TextDecoder instead of Buffer
Fixes #129165
2021-07-22 13:36:22 -07:00
Matt Bierner
d5f4e119e0 Use Array.from's map directly instead of a second call to map 2021-04-12 14:42:39 -07:00
David Sanders
fcef0e3db4 Use Array.flat() (#110189) 2020-11-09 12:46:26 -08:00
Konstantin Solomatov
316fd807fe remove docIndex in markdown language extension (#80933) 2019-09-16 10:50:20 -07:00
Johannes Rieken
9aab002dea push workaround for ts-loader weirdness 2019-09-12 09:59:31 +02:00
Konstantin Solomatov
5db460d2fe Fix activation of linters on unopened files caused by markdown plugin (#80506)
* Fix bug causing a large number of linters to be activated due to the markdown extension opening TextDocuments during indexing

* indentation problem

* code review by @OmarTawfik

* revert changed file

* Code review: use nodejs' Buffer

* fix ineffcient code
code review comments

* introduce SkinnyTextLine

* refactor redundant code

* revert changed files

* formatting

* remove empty line
2019-09-11 11:39:08 -07:00
Matt Bierner
0ec326531e Use flatten array helper 2019-04-02 17:16:10 -07:00
Matt Bierner
8f10101dd4 Create base class for disposable objects 2019-02-05 17:45:11 -08:00
Matt Bierner
33446a0a9e Use hierarchical markdown document symbols
Fixes #52546
2018-06-26 17:31:45 -07:00
Matt Bierner
e0ae63888d Extracting common code for getMarkdownDocument 2018-06-04 11:50:04 -07:00
Matt Bierner
7b69194f91 Introduce the concept of a SkinnyTextDocument that provides minimal interface to generate toc 2018-06-04 11:50:04 -07:00
Matt Bierner
b845ce918f Don't include node_modules in markdown results 2018-04-23 18:03:19 -07:00
Matt Bierner
4222253670 Make sure we update markdown workspace results when editing a file wihtout saving 2018-04-23 17:59:29 -07:00
Matt Bierner
017d09e2fe Be more lazy computing symbols 2018-04-13 16:34:25 -07:00
Matt Bierner
7761157030 Update results on file create 2018-04-13 16:34:25 -07:00
Matt Bierner
79098619a5 Handle delete document 2018-04-13 16:34:25 -07:00
Matt Bierner
87f97ad853 Adding test for file change 2018-04-13 16:34:25 -07:00
Matt Bierner
6044fcacc8 Adding single file test 2018-04-13 16:34:25 -07:00
Matt Bierner
aa0d43ea2d Name cleanup 2018-04-13 16:34:25 -07:00
Matt Bierner
62078256fb Switch to using watcher 2018-04-13 16:34:25 -07:00
Matt Bierner
ba87894f5d Don't depend on lodash 2018-04-13 15:09:07 -07:00
Pradeep Murugesan
5e993f7160 added the workspace symbol provider for markdown #46406 (#47610)
* added the workspace symbol provider for markdown 46406

* fixed the review comments 46406
2018-04-13 15:03:50 -07:00