Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .bob/user/skills/create-pr/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: create-pr
description: Create a PR from the working tree
metadata:
user-invocable: true
disable-model-invocation: true
---

Please create a PR from my branch using the GitHub CLI (`gh`). Push the branch if I have not pushed it. If I'm not in a branch for this fix, then create a branch and push that.

If I provide an issue number, the issue belongs to the codefori/vscode-db2i repository. Use this command to find out the info for it: gh issue view <ISSUENUMBER> -R codefori/vscode-db2i

When creating the issue body, mention in the PR "Closes <link to issue>" in the related issue section.

Please use the PR template when creating the PR: .github/PULL_REQUEST_TEMPLATE.md
15 changes: 15 additions & 0 deletions .bob/user/skills/issue/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: issue
description: Use this when working with GitHub issues
metadata:
user-invocable: true
disable-model-invocation: true
---

If figuring out what to work on, then use: gh issue list -R codefori/vscode-db2i

If the you know what issue number to work on, then use: gh issue view <ISSUENUMBER> -R codefori/vscode-db2i

Ask the user any clarifying questions.

Do not make any commits or branches. Let the user handle committing.
5 changes: 4 additions & 1 deletion src/language/providers/completionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ const completionTypes: { [index: string]: CompletionType } = {


function getColumnAttributes(column: TableColumn, useSystemName: boolean): string {
const shownName = useSystemName ? column.SYSTEM_COLUMN_NAME : column.COLUMN_NAME;
const alternateName = useSystemName ? column.COLUMN_NAME : column.SYSTEM_COLUMN_NAME;
const lines: string[] = [
`Column: ${useSystemName ? column.SYSTEM_COLUMN_NAME : column.COLUMN_NAME}`,
`Column: ${shownName}`,
`${useSystemName ? `SQL name` : `System name`}: ${alternateName}`,
`Type: ${prepareParamType(column)}`,
`HAS_DEFAULT: ${column.HAS_DEFAULT}`,
`IS_IDENTITY: ${column.IS_IDENTITY}`,
Expand Down
Loading