Uecko_ERP/.vscode/settings.json

72 lines
16 KiB
JSON
Raw Normal View History

2025-01-29 19:02:59 +00:00
{
2026-03-28 21:10:05 +00:00
// Font Family
"editor.fontFamily": "'Fira Code', 'Cascadia Code', 'Consolas'",
// Enable Font Ligatures
"editor.fontLigatures": true,
2025-05-02 21:43:51 +00:00
// Javascript and TypeScript settings
2026-03-28 21:10:05 +00:00
"js/ts.suggest.enabled": true,
"js/ts.suggest.autoImports": true,
"js/ts.preferences.importModuleSpecifier": "shortest",
2025-05-02 21:43:51 +00:00
2026-03-28 21:10:05 +00:00
"js/ts.suggest.completeFunctionCalls": true,
"js/ts.suggest.includeAutomaticOptionalChainCompletions": true,
"js/ts.suggestionActions.enabled": true,
"js/ts.autoClosingTags.enabled": true,
2025-05-02 21:43:51 +00:00
2025-05-19 16:15:01 +00:00
"editor.quickSuggestions": {
"strings": "on"
},
2025-05-17 19:12:01 +00:00
"[typescript]": {
2025-05-04 20:06:57 +00:00
"editor.defaultFormatter": "biomejs.biome"
},
2025-05-17 19:12:01 +00:00
"[typescriptreact]": {
2025-11-04 15:55:36 +00:00
"editor.defaultFormatter": "biomejs.biome"
2025-05-17 19:12:01 +00:00
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
2025-11-21 18:42:17 +00:00
"editor.defaultFormatter": "vscode.json-language-features"
2025-05-17 19:12:01 +00:00
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
// Codex OpenAI
"codex.enableAutoSuggest": true,
"codex.contextAwareness": true,
"codex.cloudTasks": true,
"codex.panelPosition": "right",
"codex.maxContextLines": 1000,
2025-11-11 18:57:04 +00:00
// Biome
"biome.enabled": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit",
2026-03-03 11:05:09 +00:00
"source.removeUnusedImports": "always",
"source.fixAll.eslint": "explicit"
2025-11-11 18:57:04 +00:00
},
2025-02-03 13:12:36 +00:00
// other vscode settings
2025-09-09 15:48:12 +00:00
"[sql]": {
"editor.defaultFormatter": "cweijan.vscode-mysql-client2"
2026-06-13 12:58:09 +00:00
},
"chat.tools.terminal.autoApprove": {
"/^cd /home/rodax/Documentos/uecko-erp/apps/web/src/layout && python3 - <<'PY'\nfrom pathlib import Path\nfiles = \\{\n 'app-layout\\.tsx': '''import type \\* as React from \"react\"\nimport \\{ SidebarInset, SidebarProvider \\} from \"@repo/shadcn-ui/components\"\nimport \\{ Outlet \\} from \"react-router\"\n\nimport \\{ AppMain \\} from \"\\./app-main\"\nimport \\{ AppSidebar \\} from \"\\./app-sidebar\"\nimport \\{ AppTopbar \\} from \"\\./app-topbar\"\n\nexport const AppLayout = \\(\\) => \\{\n return \\(\n <SidebarProvider\n style=\\{\n \\{\n \"--sidebar-width\": \"16rem\",\n \"--sidebar-width-mobile\": \"18rem\",\n \\} as React\\.CSSProperties\n \\}\n >\n <AppSidebar />\n <SidebarInset className=\"flex h-screen min-w-0 flex-col overflow-hidden bg-background\">\n <AppTopbar />\n <AppMain>\n <Outlet />\n </AppMain>\n </SidebarInset>\n </SidebarProvider>\n \\)\n\\}\n''',\n 'app-main\\.tsx': '''import type \\* as React from \"react\"\n\nimport \\{ cn \\} from \"@repo/shadcn-ui/utils\"\n\ninterface AppMainProps \\{\n children: React\\.ReactNode\n className\\?: string\n\\}\n\nexport const AppMain = \\(\\{ children, className \\}: AppMainProps\\) => \\{\n return \\(\n <main className=\\{cn\\(\"min-h-0 flex-1 overflow-auto bg-muted/40\", className\\)\\}>\n \\{children\\}\n </main>\n \\)\n\\}\n''',\n 'app-sidebar\\.config\\.ts': '''import \\{\n BanknoteIcon,\n BarChart3Icon,\n BoxesIcon,\n Building2Icon,\n ClipboardListIcon,\n CoinsIcon,\n CreditCardIcon,\n FileTextIcon,\n LandmarkIcon,\n PackageIcon,\n PercentIcon,\n ReceiptIcon,\n RefreshCcwIcon,\n SettingsIcon,\n ShoppingCartIcon,\n SlidersHorizontalIcon,\n TruckIcon,\n UserCogIcon,\n UsersIcon,\n WarehouseIcon,\n\\} from \"lucide-react\"\nimport type \\{ LucideIcon \\} from \"lucide-react\"\n\nexport interface AppSidebarNavItem \\{\n title: string\n href: string\n icon: LucideIcon\n\\}\n\nexport interface AppSidebarNavSection \\{\n title: string\n items: AppSidebarNavItem\\[\\]\n\\}\n\nexport const appSidebarNavSections: AppSidebarNavSection\\[\\] = \\[\n \\{\n title: \"Ventas\",\n items: \\[\n \\{ title: \"Proformas\", href: \"/proformas\", icon: FileTextIcon \\},\n \\{ title: \"Pedidos de venta\", href: \"/sales-orders\", icon: ShoppingCartIcon \\},\n \\{ title: \"Clientes\", href: \"/customers\", icon: UsersIcon \\},\n \\{ title: \"Facturación\", href: \"/customer-invoices\", icon: ReceiptIcon \\},\n \\{ title: \"Cobros\", href: \"/collections\", icon: CreditCardIcon \\},\n \\{ title: \"Devoluciones\", href: \"/sales-returns\", icon: RefreshCcwIcon \\},\n \\],\n \\},\n \\{\n title: \"Compras\",\n items: \\[\n \\{ title: \"Pedidos de compra\", href: \"/purchase-orders\", icon: ClipboardListIcon \\},\n \\{ title: \"Proveedores\", href: \"/suppliers\", icon: TruckIcon \\},\n \\{ title: \"Facturas de compra\", href: \"/supplier-invoices\", icon: ReceiptIcon \\},\n \\{ title: \"Pagos\", href: \"/payments\", icon: BanknoteIcon \\},\n \\{ title: \"Devoluciones\", href: \"/purchase-returns\", icon: RefreshCcwIcon \\},\n \\],\n \\},\n \\{\n title: \"Inventario\",\n items: \\[\n \\{ title: \"Productos\", href: \"/products\", icon: PackageIcon \\},\n \\{ title: \"Almacenes\", href: \"/warehouses\", icon: WarehouseIcon \\},\n \\{ title: \"Movimientos\", href: \"/stock-movements\", icon: BoxesIcon \\},\n \\{ title: \"Ajustes de stock\", href: \"/stock-adjustments\", icon: SlidersHorizontalIcon \\},\n \\{ title: \"Categorías\", href: \"/product-categories\", icon: ClipboardListIcon \\},\n \\],\n \\},\n \\{\n title: \"Contabilidad\",\n items: \\[\n \\{ title: \"Plan contable\", href: \"/accounting/chart\", icon: LandmarkIcon \\},\n \\{ title: \"Asientos contables\", href: \"/accounting/entries\", icon: FileTextIcon \\},\n \\{ title: \"Diario\", href: \"/accounting/journal\", icon: ClipboardListIcon
"approve": true,
"matchCommandLine": true
},
"pnpm": true
2026-03-28 21:10:05 +00:00
} // <- your root font size here
2025-02-03 13:12:36 +00:00
}