Loading repository data…
Loading repository data…
phcode-dev / repository
The text editor designed to make coding as simple and fun as playing a video game
Website: https://phcode.io
Phoenix is a modern open-source and free software text editor designed to make coding as simple and fun as playing a video game.

sudo npm install -g gulp-clinpm install -g gulp-clinpm installnpm run build - generate builds close to release builds locally.npm run build:debug to build debug builds for development with more debug symbols.npm run serve in the terminal.SonarLint static code analysis checker is not yet available as a Brackets extension. Use sonarLint plugin for webstorm or any of the available IDEs from this link before raising a pull request: https://www.sonarlint.org/
npm installnpm run release:dev, npm run release:staging, npm run release:proddist folder.This is the easiest and preferred way to run Phoenix tests.
npm run build in the terminal.
Debug > Phoenix Code Diagnostic Tools > Run Phoenix Code Tests To open the test runner.reset and reload tests option in the test runner.We use Playwright to run the headless version of our tests. Please note that we do not use Playwright as our actual test framework, but as a headless browser(chrome and firefox) to run our tests written in Jasmine/Mocha.
npm run test<*> in the terminal to run the unit tests run in GitHub actions. Eg. npm run testChromium.npm run test<*>Debug. Eg. npm run testFirefoxDebug. However, we recommend using the
above Running tests in browser section to actually fix/debug tests that are failing in the pipeline.
It has much better debug UX and fixing it directly in the browser will almost certainly fix it in playwright.npx cross-env TEST_ENV=<integration suite name> npm run test<*>
integration, LegacyInteg, mainview, livepreview.
You can get these suite names from the test runner.npx cross-env TEST_ENV=integration npm run testChromium npx cross-env TEST_ENV=<integration suite name> npm run test<*>Debug
npx cross-env TEST_ENV=mainview npm run testChromiumDebugnpm run release:<stage>. Eg: npm run release:devnpm run test<*>Dist. Eg. npm run testChromiumDist.npx cross-env TEST_ENV=<integration suite name> npm run test<*>Dist. Eg. npx cross-env TEST_ENV=mainview npm run testChromiumDist.npm run release:<stage>. Eg: npm run release:devnpm run serve to start the server.http://localhost:8000/dist-test/test/SpecRunner.html in the browser to run tests that was built for the stage above.To view/edit the files in the browser virtual file system in Phoenix:
debug menu> Open Virtual File System
npm run cleanGNU AGPL-3.0 License
Copyright (c) 2021 - present Core.ai Based on Backets, Copyright (c) 2012 Adobe Systems Incorporated and the brackets.io community
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.