Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenWeatherford committed Sep 2, 2020
1 parent 1b15140 commit fd36c9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/documents/templates/IResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ export interface IResource {
* The nameValue of the resource object in the JSON
*/
nameValue: Json.StringValue | undefined;

/**
* The typeValue of the resource object in the JSON
*/
resourceTypeValue: Json.StringValue | undefined;
}
5 changes: 0 additions & 5 deletions src/documents/templates/getDependsOnCompletions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ function getDependsOnCompletion(resource: IResourceInfo, span: Span): Completion
}
const insertText = `"[${resourceIdExpression}]"`;
const detail = typeExpression;

//const resourceResTypeMarkdown = `- **Name**: *${resource.getFullNameExpression()}*\n- **Type**: *${resource.getFullTypeExpression()}*`;
// const resourceDocumentation = `#### Inserts a resourceId() reference to the following resource:\n${resourceResTypeMarkdown}`;
// const documentation = `\`\`\`csharp\n[${resourceIdExpression}]\n\`\`\`\n${resourceDocumentation}`;

const documentation = `Inserts this resourceId reference:\n\`\`\`arm-template\n"[${resourceIdExpression}]"\n\`\`\`\n<br/>`;

const item = new Completion.Item({
Expand Down

0 comments on commit fd36c9a

Please sign in to comment.