php-cf-vscode-extensionVSCode extension for PHP Cresenity Framework Extensions this replacesThese are all built in, so the separate Marketplace extension is no longer needed:
When one of them is installed, a notice offers to remove it. For the two that
register as formatters it reads Uninstall & Fix Settings: it uninstalls, then
repoints Don't Show Again silences a notice permanently, per extension. Separately, a SettingsmaxLineScanningCountMaximum number of scanning rows. Default: 666 viewExtensionsSearch views according to the configured extensions.
viewQuickJumpUse uriControllerQuickJumpUse phpstanenable/disable phpstan for phpcf.
php-cs-fixerphp-cs-fixer is built into this extension. The phar comes from
Set it as the PHP formatter
Without this line VS Code asks which formatter to use every time Format Document is pressed, whenever more than one extension registers for PHP. Coming from Settings
phpcsDiagnostics come from PHP_CodeSniffer. The extension offers to run
BladeThe Blade language, its syntax highlighting, and its snippets are built into this
extension — CF's own directives ( Set it as the Blade formatter
Settings
The remaining options are passed straight to Change LogReleases from 1.3.511 onward are in CHANGELOG.md. The entries below are the older history, kept here because they predate that file. V1.3.511SFTP/FTP is now built into this extension (upload, download, sync, Remote Explorer) — no longer depends on the liximomo.sftp / natizyskunk.sftp marketplace extension, which had stopped working on recent VS Code Add "Delete (Local + Remote)" command to the Explorer right-click menu — deletes a file/folder both locally and on the active SFTP profile in one step Remove automatic rollup build + upload-on-save for application///js files on save — developers can now use any JS build tool instead of being forced into rollup What you need to do after updating:
V1.3.510Add "CF: Install DevTrack Extension" command and a one-time activation prompt when the DevTrack (Cresenity time tracking) extension isn't installed DevTrack isn't published to the Marketplace, so this downloads the latest .vsix from devcloud (phpcf.devtrackBaseUrl setting) and installs it via workbench.extensions.installExtension Add phpcf.devtrackBaseUrl setting (default https://cpanel.ittron.co.id) V1.3.509Add Ctrl+click translation links: c::trans(), c::__(), @lang(), setLabel(), setTitle() — jump to i18n definition (application first, then system) setLabel/setTitle links and diagnostics skipped when second param is explicitly false Add translation diagnostic: warn when key is missing in non-default locales (only runs if app has 2+ i18n locale dirs; default locale from config/app.php) All diagnostics skip PHP-commented lines (// and /* */ blocks) Refactor diagnostics into src/diagnostics/ — one file per diagnostic type Fix client_module link: parse assets.php within modules section, client_modules.php at top level (assets.php searched first) Fix modelUpdate.ts implicit any on str parameter V1.3.508Fix Ctrl+Shift+M (model:update) no longer opens a terminal — runs silently via child_process with progress notification Fix client_module link resolution: assets.php (modules nested under 'modules' key) searched first, client_modules.php (top-level) searched as fallback — correct structure-aware parsing for each format V1.3.507Add "CF: Generate IDE Helper" command — generates V1.3.506Add "Data Domain" context menu on application folders — lists domain files for that app Add "CF: Resolve URL to Controller" command — paste a URL to jump to the controller method Auto-fills URL from clipboard if available V1.3.505Replace tree views with webview panel — Routes and Models as tabs in CF PHP sidebar Add Models tab: lists tables from phpcf model:tables, click to open model file Add create model action for tables without model — runs phpcf make:model in terminal Show phpcf install instructions when phpcf is not installed Auto-filter to active app based on open file, no tree collapse on file navigation Fix client_module validation false positives (assets-module.php with requirements key) V1.3.504Add theme file validation: warning when CSS/JS asset file not found Add theme file validation: warning when client_module not found in asset definitions Add click-to-file for CSS/JS entries in theme files — opens the resolved asset file Add click-to-definition for client_modules entries in theme files — jumps to module definition V1.3.503Add diagnostic: warning when permission name not found in nav files Add diagnostic: warning when view file not found Add diagnostic: warning when controller URI not resolved (skips http/https URLs) Add diagnostic: deprecated hint for echo $app->render() — use return $app instead Add diagnostic: warning for duplicate permission names across nav files V1.3.502Add Route List tree view in sidebar — shows controllers and methods for the active app Add keyboard shortcut (Ctrl+Shift+M) to run phpcf model:update on current model file Add hover and click-to-definition for permission names (havePermission, checkPermission, etc.) to nav files Fix additional TypeScript strict mode errors across codebase V1.3.501Fix php-cs-fixer on save spamming error when php-cs-fixer is not installed Fix controller URI quick jump now jumps to the method line (supports HTTP verb prefixed methods) Fix multiple TypeScript strict mode errors (null checks, Map usage, optional parameters) V1.3.5Add Refactor Action For phpcf phpcsfixer Extension can be defaultFormatter for php with cf php-cs-fixer configuration V1.3.4Add Refactor Action For phpcf model:update V1.3.3Add Code Action For Class Not Found V1.3.2Fix bug autocomplete for view Fix prevent run phpstan when phpcf is not installed Add autocomplete for translation Add autocomplete for config Add autocomplete for permission V1.3.0Add autocomplete for view V1.2.0Add integration for phpstan (phpcf must be instaled through composer) V1.1.1Minor fix for folder scan priority V1.1.0Add Controller Uri on c::redirect(), c::url() and curl::redirect() Change config name from viewMaxLinesCount to maxLineScanningCount (use both for scanning view and uri controller) V1.0.14Add Document Link on ->setView( |