2017-06-05 23:54:14 +02:00
|
|
|
///<reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @Filename: a.ts
|
|
|
|
////class Test1 {
|
|
|
|
//// public some /*afterPropertyName*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: b.ts
|
|
|
|
////class Test2 {
|
|
|
|
//// public some(/*inMethodParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: c.ts
|
|
|
|
////class Test3 {
|
|
|
|
//// public some(a/*atMethodParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: d.ts
|
|
|
|
////class Test4 {
|
|
|
|
//// public some(a /*afterMethodParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: e.ts
|
|
|
|
////class Test5 {
|
|
|
|
//// public some(a /*afterMethodParameterBeforeComma*/,
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: f.ts
|
|
|
|
////class Test6 {
|
|
|
|
//// public some(a, /*afterMethodParameterComma*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: g.ts
|
|
|
|
////class Test7 {
|
|
|
|
//// constructor(/*inConstructorParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: h.ts
|
|
|
|
////class Test8 {
|
|
|
|
//// constructor(public /*inConstructorParameterAfterModifier*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: i.ts
|
|
|
|
////class Test9 {
|
|
|
|
//// constructor(a/*atConstructorParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: j.ts
|
|
|
|
////class Test10 {
|
|
|
|
//// constructor(public/*atConstructorParameterModifier*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: k.ts
|
|
|
|
////class Test11 {
|
|
|
|
//// constructor(public a/*atConstructorParameterAfterModifier*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: l.ts
|
|
|
|
////class Test12 {
|
|
|
|
//// constructor(a /*afterConstructorParameter*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: m.ts
|
|
|
|
////class Test13 {
|
|
|
|
//// constructor(a /*afterConstructorParameterBeforeComma*/,
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: n.ts
|
|
|
|
////class Test14 {
|
|
|
|
//// constructor(public a, /*afterConstructorParameterComma*/
|
|
|
|
////}
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{
|
|
|
|
marker:[
|
|
|
|
"afterPropertyName",
|
|
|
|
"inMethodParameter",
|
|
|
|
"atMethodParameter",
|
|
|
|
"afterMethodParameter",
|
|
|
|
"afterMethodParameterBeforeComma",
|
|
|
|
"afterMethodParameterComma",
|
|
|
|
"afterConstructorParameter",
|
|
|
|
],
|
|
|
|
exact: undefined,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
marker: [
|
|
|
|
"inConstructorParameter",
|
|
|
|
"inConstructorParameterAfterModifier",
|
|
|
|
"atConstructorParameter",
|
|
|
|
"atConstructorParameterModifier",
|
|
|
|
"atConstructorParameterAfterModifier",
|
|
|
|
"afterConstructorParameterComma",
|
|
|
|
],
|
|
|
|
exact: completion.constructorParameterKeywords,
|
|
|
|
isNewIdentifierLocation: true,
|
|
|
|
},
|
|
|
|
);
|