TypeScript/tests/cases/fourslash/quickInfoForJSDocUnknownTag.ts
Nathan Shively-Sanders ff959096df
Fix some bad jsdoc comment indent (#30838)
* First draft

Solves the initial problem but breaks commentCommentParsing. I also
found a couple more interesting cases.

* Add more tests and fix their bugs

* Another test case

* Some cleanup

I may try do a little more; `margin += tag.end - tag.pos` bothers me a
bit.

* More cleanup
2019-04-10 08:22:09 -07:00

50 lines
726 B
TypeScript

/// <reference path='fourslash.ts' />
/////**
//// * @example
//// * if (true) {
//// * foo()
//// * }
//// */
////function fo/*1*/o() {
//// return '2';
////}
/////**
//// @example
//// {
//// foo()
//// }
//// */
////function fo/*2*/o2() {
//// return '2';
////}
/////**
//// * @example
//// * x y
//// * 12345
//// * b
//// */
////function m/*3*/oo() {
//// return '2';
////}
/////**
//// * @func
//// * @example
//// * x y
//// * 12345
//// * b
//// */
////function b/*4*/oo() {
//// return '2';
////}
/////**
//// * @func
//// * @example x y
//// * 12345
//// * b
//// */
////function go/*5*/o() {
//// return '2';
////}
verify.baselineQuickInfo();