2018-01-20 02:26:58 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
//// class Foo {
|
|
|
|
//// bar () {
|
|
|
|
//// /*1*/
|
|
|
|
//// class Foo1 {
|
|
|
|
//// bar1 () {
|
|
|
|
//// /*2*/
|
|
|
|
//// }
|
|
|
|
//// /*3*/
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// /*4*/
|
|
|
|
//// }
|
2018-07-20 17:25:16 +02:00
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{
|
|
|
|
marker: ["1", "2"],
|
2019-05-16 23:46:10 +02:00
|
|
|
includes: ["async", "await"].map(
|
|
|
|
name => ({ name, sortText: completion.SortText.GlobalsOrKeywords })
|
|
|
|
),
|
2018-10-29 18:03:25 +01:00
|
|
|
excludes: ["public", "private", "protected", "constructor", "readonly", "static", "abstract", "get", "set"],
|
|
|
|
},
|
|
|
|
{ marker: ["3", "4"], exact: completion.classElementKeywords, isNewIdentifierLocation: true },
|
|
|
|
);
|