-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix positioning of jsdoc comments (and block comments in gene…
…ral) by prepending them with two backticks ``" Revert "add test for jsdoc inside iife" It's not waterproof, see jashkenas/coffeescript#5366 (comment) This reverts commit 56b7982. This reverts commit 03acf8f.
- Loading branch information
Showing
28 changed files
with
48 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/destructuring-with-comment-block.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
something_else = 1 | ||
|
||
|
||
# | ||
### ### | ||
{ abc } = abc: destructuring_with_comment_block_var_1: 123 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# inline_obj_open_brace_prop_1: number | ||
# }} inline_obj_open_brace_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {inline_obj_open_brace_interface} ### | ||
inline_obj_open_brace = { inline_obj_open_brace_prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# obj_half_line_colon_completion_prop_1: number, | ||
# obj_half_line_colon_completion_prop_2: string | ||
# }} Obj_half_line_colon_completion_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {Obj_half_line_colon_completion_interface} ### | ||
obj_half_line_colon_completion = | ||
obj_half_line_colon_completion_prop: |
4 changes: 2 additions & 2 deletions
4
test/lsp/fixture/completion/object-half-line-half-defined-above.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test/lsp/fixture/completion/object-half-line-half-defined.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test/lsp/fixture/completion/object-half-line-with-braces.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test/lsp/fixture/completion/object-half-line-with-open-brace.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# obj_half_line_with_open_brace_completion_prop_1: number, | ||
# obj_half_line_with_open_brace_completion_prop_2: string | ||
# }} Obj_half_line_with_open_brace_completion_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {Obj_half_line_with_open_brace_completion_interface} ### | ||
obj_half_line_with_open_brace_completion = { | ||
obj_half_line_with_open_brace_completion_prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# obj_half_line_completion_prop_1: number, | ||
# obj_half_line_completion_prop_2: string | ||
# }} Obj_half_line_completion_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {Obj_half_line_completion_interface} ### | ||
obj_half_line_completion = | ||
obj_half_line_completion_prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# obj_invalid_line_completion_prop_1: number, | ||
# obj_invalid_line_completion_prop_2: string | ||
# }} Obj_invalid_line_completion_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {Obj_invalid_line_completion_interface} ### | ||
obj_invalid_line_completion = | ||
obj_invalid_line_completion_p : ~~var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
|
||
# | ||
###* | ||
# @typedef {{ | ||
# obj_completion_prop_1: number, | ||
# obj_completion_prop_2: string | ||
# }} Obj_completion_interface | ||
### | ||
|
||
|
||
# | ||
###* @type {Obj_completion_interface} ### | ||
obj_completion = | ||
|
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/open-empty-string-as-function-param-brace-indented.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# | ||
###* @param val {'abc' | 'def'} ### | ||
open_empty_string_as_function_param = (val) => | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# | ||
###* @type {"abc" | "def"} ### | ||
open_string_var_2 = " | ||
|
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/open-string-as-function-param-brace-indented-2.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# | ||
###* @param val {'abc' | 'def'} ### | ||
open_string_as_function_param_2 = (val) => | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/open-string-as-function-param-brace-indented.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# | ||
###* @param val {'abc' | 'def'} ### | ||
open_string_as_function_param = (val) => | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/open-string-as-function-param-indented.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# | ||
###* @param val {'abc' | 'def'} ### | ||
open_string_as_function_no_brace_param = (val) => | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
test/lsp/fixture/completion/open-string-as-inline-object.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#@ts-check | ||
|
||
# | ||
###* @type {{abc:"def"|"ghi"}} ### | ||
open_string_as_inline_obj_var = abc: " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
# | ||
###* @type {"abc" | "def"} ### | ||
open_string_var = " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
# | ||
###* @type {'constant'} ### | ||
string_completion_const = '' | ||
|
||
# | ||
###* @type {'constant'} ### | ||
string_completion_const2 = 'constan' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters