Skip to content

Commit e7abf39

Browse files
add new settings on editor
1 parent a5ac9b7 commit e7abf39

4 files changed

Lines changed: 30 additions & 41 deletions

File tree

.vscode/settings.json

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
// ========== Visuals ==========
33
"editor.cursorSmoothCaretAnimation": "on",
4-
"editor.fontFamily": "Cascadia Code",
4+
"editor.fontFamily": "JetBrains Mono",
55
"editor.guides.bracketPairs": "active",
66
"editor.lineNumbers": "on",
77
"editor.renderWhitespace": "none",
88
"window.autoDetectColorScheme": false,
9-
"workbench.colorTheme": "One Dark Pro",
9+
"workbench.colorTheme": "Cursor like theme",
1010
"workbench.editor.tabActionLocation": "left",
1111
"workbench.fontAliasing": "antialiased",
1212
"workbench.list.smoothScrolling": true,
13-
"workbench.preferredDarkColorTheme": "One Dark Pro",
14-
"workbench.preferredLightColorTheme": "One Dark Pro",
13+
"workbench.preferredDarkColorTheme": "Cursor like theme",
14+
"workbench.preferredLightColorTheme": "Cursor like theme",
1515
"workbench.productIconTheme": "fluent-icons",
16-
"workbench.sideBar.location": "right",
16+
"workbench.sideBar.location": "left",
1717
"workbench.startupEditor": "newUntitledFile",
1818
"workbench.tree.expandMode": "singleClick",
1919
"workbench.tree.indent": 4,
@@ -51,7 +51,7 @@
5151
"terminal.integrated.cursorStyle": "block",
5252
"terminal.integrated.persistentSessionReviveProcess": "never",
5353
"terminal.integrated.tabs.enabled": false,
54-
"terminal.integrated.fontSize": 15,
54+
"terminal.integrated.fontSize": 18,
5555
"workbench.editor.closeOnFileDelete": true,
5656
"workbench.editor.highlightModifiedTabs": true,
5757
"workbench.editor.limit.enabled": true,
@@ -165,12 +165,12 @@
165165
"prettier.singleQuote": true,
166166
// ========== File Nesting ==========
167167
"explorer.fileNesting.enabled": true,
168-
"editor.fontSize": 14.11,
168+
"editor.fontSize": 14.20,
169169
"files.autoSave": "afterDelay",
170170
"editor.minimap.enabled": false,
171171
"editor.minimap.maxColumn": 55,
172-
"window.zoomLevel": 1.89,
173-
"terminal.integrated.fontFamily": "Cascadia code",
172+
"window.zoomLevel": 1,
173+
"terminal.integrated.fontFamily": "Iosevka Nerd Font Mono",
174174
"editor.wordWrap": "on",
175175
"editor.fontLigatures": true,
176176
"editor.formatOnPaste": true,
@@ -196,7 +196,7 @@
196196
"editor.cursorBlinking": "blink",
197197
"editor.smoothScrolling": true,
198198
"editor.fastScrollSensitivity": 10,
199-
"editor.cursorStyle": "line",
199+
"editor.cursorStyle": "block",
200200
"editor.find.cursorMoveOnType": false,
201201
"emmet.syntaxProfiles": {
202202
"html": {
@@ -207,12 +207,12 @@
207207
"editor.snippetSuggestions": "top",
208208
"window.nativeFullScreen": true,
209209
"editor.guides.indentation": false,
210-
"workbench.preferredHighContrastLightColorTheme": "One Dark Pro",
211-
"workbench.preferredHighContrastColorTheme": "One Dark Pro",
210+
"workbench.preferredHighContrastLightColorTheme": "Cursor like theme",
211+
"workbench.preferredHighContrastColorTheme": "Cursor like theme",
212212
"workbench.activityBar.location": "default",
213-
"workbench.iconTheme": "symbols",
213+
"workbench.iconTheme": "material-icon-theme",
214214
"workbench.tree.renderIndentGuides": "none",
215-
"breadcrumbs.enabled": true,
215+
"breadcrumbs.enabled": false,
216216
"breadcrumbs.icons": true,
217217
"breadcrumbs.showArrays": false,
218218
"breadcrumbs.showBooleans": false,
@@ -269,28 +269,17 @@
269269
"file:///c:/Users/jefer/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.4/dist/updateHandler.js"
270270
],
271271
"workbench.editor.wrapTabs": false,
272-
"editor.semanticTokenColorCustomizations": {
273-
"[One Dark Pro]": {
274-
"enabled": true,
275-
"rules": {
276-
"*.declaration": {
277-
"bold": true,
278-
}
279-
}
280-
}
281-
},
282-
"terminal.integrated.defaultProfile.windows": "Git Bash",
283-
"apc.font.family": "Cascadia Code",
272+
"editor.fontWeight": "bold",
273+
"terminal.integrated.defaultProfile.windows": "PowerShell",
284274
"git.blame.editorDecoration.enabled": true,
285275
"[php]": {
286276
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
287277
},
288278
"rapidapi.terminalLink.enabled": false,
289279
"chat.commandCenter.enabled": false,
290280
"editor.scrollbar.vertical": "hidden",
291-
"editor.lineHeight": 23,
292281
"editor.linkedEditing": true,
293-
"oneDarkPro.bold": true,
294-
"oneDarkPro.italic": true,
295-
"oneDarkPro.vivid": true
282+
"editor.lineHeight": 19,
283+
"editor.suggest.insertMode": "replace",
284+
"tabnine.experimentalAutoImports": true,
296285
}

01_basic/01_print.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
print("¡Hola, Twitch!")
1010

1111
# También puedes usar comillas simples para imprimir texto
12-
print('Esto también funciona con una comilla')
12+
print("Esto también funciona con una comilla")
1313

1414
# Puedes imprimir múltiples elementos separados por un espacio
1515
print("Python", "es", "genial")
1616

1717
# El parámetro 'sep' permite definir cómo se separan los elementos impresos
18-
print("Python", "es", "brutal", sep = "-")
18+
print("Python", "es", "brutal", sep="-")
1919

2020
# El parámetro 'end' define lo que se imprime al final de la línea
21-
print("Esto se imprime", end = "\n") # Aquí, el 'end' tiene un salto de línea explícito
22-
print("en una línea") # Esto se imprime en la línea siguiente
21+
print("Esto se imprime", end="\n") # Aquí, el 'end' tiene un salto de línea explícito
22+
print("en una línea") # Esto se imprime en la línea siguiente
2323

2424
# También se pueden imprimir números directamente
2525
print(42)
@@ -32,7 +32,7 @@
3232
print('Esto es una "pulgada" dentro de un string con comillas simples')
3333

3434
# ✅ Solución 2: Usar el carácter de escape \ para incluir comillas dobles dentro de un string con comillas dobles
35-
print("Esto es una \"pulgada\" dentro de un string con comillas dobles")
35+
print('Esto es una "pulgada" dentro de un string con comillas dobles')
3636

3737
# ✅ Solución 3: Usar triple comillas para definir el string
38-
print("""Esto es una "pulgada" dentro de un string con triple comillas""")
38+
print("""Esto es una "pulgada" dentro de un string con triple comillas""")

01_basic/04_variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
mi_nombre_de_variable_123 = "ok"
4646

47-
MI_CONSTANTE = 3.14 # UPPER_CASE -> constantes
47+
MI_CONSTANTE: int = 3.14 # UPPER_CASE -> constantes
4848

4949
# Nombres NO válidos de variables (esto generaría errores)
5050
# 123123_variable = "ko" # ❌ No puede comenzar con un número

01_basic/05_input.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
# Para obtener datos del usuario se usa la función input()
77
# La función input() recibe un mensaje que se muestra al usuario
88
# y devuelve el valor introducido por el usuario
9-
nombre = input("Hola, ¿cómo te llamas?\n")
9+
nombre: str = input("Hola, ¿cómo te llamas?\n")
1010
print(f"Hola {nombre}, encantado de conocerte")
1111

1212
# Ten en cuenta que la función input() devuelve un string
1313
# Así que si queremos obtener un número se debe convertir el string a un número
14-
age = input("¿Cuántos años tienes?\n")
15-
age = int(age)
14+
age: int = input("¿Cuántos años tienes?\n")
15+
age: int = int(age)
1616
print(f"Tienes {age} años")
1717

1818
# La función input() también puede devolver múltiples valores
1919
# Para hacerlo, el usuario debe separar los valores con una coma
2020
print("Obtener múltiples valores a la vez")
2121
country, city = input("¿En qué país y ciudad vives?\n").split()
2222

23-
print(f"Vives en {country}, {city}")
23+
print(f"Vives en {country}, {city}")

0 commit comments

Comments
 (0)