You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -88,7 +111,7 @@ export class RuleInputProvider implements vscode.WebviewViewProvider {
88
111
returnlanguageId;
89
112
}
90
113
}
91
-
returnlanguageId;
114
+
return"python";
92
115
}
93
116
94
117
// Default to python
@@ -138,27 +161,24 @@ export class RuleInputProvider implements vscode.WebviewViewProvider {
138
161
<label for="patternInput">Pattern</label>
139
162
<textarea
140
163
class="patternInput""
141
-
placeholder="Enter your pattern here..."
142
164
nonce="${nonce}"
143
165
></textarea>
144
166
<label for="replacementInput">Replacement</label>
145
167
<textarea
146
168
class="replacementInput""
147
-
placeholder="Enter your replacement here..."
148
169
nonce="${nonce}"
149
170
></textarea>
150
171
<label for="conditionInput">Condition</label>
151
172
<textarea
152
173
class="conditionInput""
153
-
placeholder="Enter your condition here..."
154
174
nonce="${nonce}"
155
175
></textarea>
156
176
</div>
157
177
<div id="advancedContainer" class="hidden">
158
178
<label for="ruleInput">Rule</label>
159
179
<textarea
160
180
class="ruleInput""
161
-
placeholder="Enter your rule here in yaml format.\nHere's an example:\nall:\n- pattern: typing.List\n replacement: list\n- not:\n inside:\n kind: import_from_statement"
0 commit comments