Skip to content

Commit b912a0c

Browse files
committed
Bump version to 1.919.0, update edit format instructions to use search/replace syntax, and fix multi-root workspace path formatting
1 parent 84a678a commit b912a0c

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
44
"description": "AI coding without agents (CWC)",
5-
"version": "1.918.0",
5+
"version": "1.919.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "rimraf out && npm run compile",

apps/editor/src/constants/edit-format-instructions.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,24 +115,24 @@ def subtract(a, b):
115115
116116
### Renamed file: \`src/examples/math_utils.py\` (old) \`src/examples/calculator.py\` (new)`
117117

118-
export const EDIT_FORMAT_INSTRUCTIONS_BEFORE_AFTER = `${intro}, followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict markers. Example:
118+
export const EDIT_FORMAT_INSTRUCTIONS_BEFORE_AFTER = `${intro}, followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict syntax. Example:
119119
Changed greeting to wishes.
120120
121121
### Updated file: \`src/examples/hello.py\`
122122
123123
\`\`\`python
124-
<<<<<<< HEAD
124+
<<<<<<< SEARCH
125125
GREETING = "Welcome everyone!"
126126
=======
127127
WISHES = "Have a nice day!"
128-
>>>>>>>
129-
<<<<<<< HEAD
128+
>>>>>>> REPLACE
129+
<<<<<<< SEARCH
130130
def show_greeting():
131131
print(GREETING)
132132
=======
133133
def show_wishes():
134134
print(WISHES)
135-
>>>>>>>
135+
>>>>>>> REPLACE
136136
\`\`\`
137137
138138
Created a simple calculator with addition and subtraction.

apps/editor/src/context/context-initialization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export const context_initialization = async (
263263
workspace_folder.uri.fsPath,
264264
file_path
265265
)
266-
display_path = `${workspace_folder.name}:${relative_path}`
266+
display_path = `${workspace_folder.name}/${relative_path}`
267267
} else {
268268
display_path = vscode.workspace.asRelativePath(file_path)
269269
}

0 commit comments

Comments
 (0)