Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path omitted for PHP-CS-Fixer and PHPCBF #2408

Closed
AJenbo opened this issue Jan 2, 2020 · 1 comment
Closed

Path omitted for PHP-CS-Fixer and PHPCBF #2408

AJenbo opened this issue Jan 2, 2020 · 1 comment

Comments

@AJenbo
Copy link
Collaborator

AJenbo commented Jan 2, 2020

After selecting the path for the php-cs-fixer application the input box only displays the file name. It also appears to not work, and if checking the log you will see that the path is also left out when calling the command. This appears to have become a problem some where between 13.0.5 and 13.0.7

image

image

[13:34:47:295 DBG] [Main] CodeFormatter running: /usr/bin/php php-cs-fixer fix /home/ajenbo/code-tmp.php

This doesn't appear to be a problem for the clang-format path:
image

@eranif eranif closed this as completed in 6b00124 Jan 14, 2020
@AJenbo
Copy link
Collaborator Author

AJenbo commented Jan 14, 2020

❤️

Cookfeces added a commit to Cookfeces/codelite that referenced this issue May 14, 2020
* File system workspace: added an option to hide specific file types from the view

* File system workspace: by default, the view will hide the following file types: "*.o;*.pyc;*.obj;*.workspace;*.o.d;*.exe;*.dll;*.project"

* Python: typing """ on top of a function definition, will not insert a block comment
Python: support Ctrl-/ and Ctrl-Shift-/ for inserting block / line comments

* Dont use temporary pointers in clSSH

* Fixed: wrong python editor handled the Comment line/block events

* libssh: fixed deprecated warning message

* Docker: auto detect docker binaries
Docker: make the 'build' Dockerfile command work out of the box without setting anything in the 'Build' tab

* Docker: remove the border around the wxSTC controls

* When passing COPY_WX_LIBS copy libssh as well

* use /bin/bash instead of /bin/sh again (some generated scripts are only bash capable)
this reverts commit: f0a2771

* Fixed build error on Windows
JSON parser: when writing an invalid JSON object, write {} instead of [] by default

* Language Server Plugin: handle editor context menu events

* LSP plugin: added 'Find Symbol' to the editor's context menu

* Fullscreen is now persistent between restarts
    fixes: eranif#2405

* Fullscreen does not hide the status bar

* Fixed build when using libssh v7 or lower

* When dismissing the 'Quick Outline' dialog, call EndModal

* Removed stale code
LSP python detector: by default, use stdio

* Fixed: macOS loaded blurry images

* SFTP plugin: support ssh-agent

* fixed build error on linux

* Linux: start a dedicated ssh-agent for CodeLite
Linux: fixed build error

* Fixed build error on Linux

* Updated the "Help->About" date to 2020

* LSP: the LSP can now be started from outside of the IDE

* SFTP: call ssh-add once ssh-agent has started

* LSP: support path-converter API. This will setting a remote folder to an LSP, which will allow having
code completion for remote files using a remotely installed LSP (e.g. clangd)

* LSP: use path converter to translate paths when files are opened with the SFTP plugin

* LSP: setting an empty command to a language server entry, automatically makes it a
"manually started" LSP. i.e. user can start it and CodeLite will only connect to it

* code completion box: remove the border around it

* ReloadFile (Ctrl-R) from disk keeps the bookmarks and folding

* Fixed regression: open file did not go to the line specified until the second click

* By default, disable the wrap with double quotes, wrap with squre braces

* Default options:
- 120 edge column instead of 80
- Display the fold margin
- Fold style: square tree headers
- Hide the edit margin

* Cleared the Options node of the default XML configuration file

* Fixed build error
	fixes: eranif#2412

* VIM plugin: Added VISUAL BLOCK MODUS (supported commands: "y d x r I A"), Need to release shortcut 'ctrl-v'
Add new command: dG dgg yG ygg

* vim visual block mode: command (I, A) supports tab input

* Fix visual block mode (I, A) command 'backspace' input error
When the input cursor is backspaced to the left of the starting column

* VIM visual block mode does not use m_tmpbuf as input cache
Improved undo operation for column insert mode

* Added project DAPGdb - at attempt to implement DAP for GDB
See: https://microsoft.github.io/debug-adapter-protocol/specification , for more details

* Removed GPLv2 license from the cJSON.hpp file

* Separated between the 'smart paren/bracket' and 'auto add closing paren/bracket'
functionalities in the UI

* Fixed: eranif#2408

* Fixed: delay on tab switching on GTK3 with slow machines

* Avoid calling CallAfter(&WindowStack::DoHideNoActiveWindows); on all platforms and not only on GTK3

* Implemted more dap objects

* VIM: Do not delete 'CRLF' for column deletion

* VIM: Visual block mode supports command 'c'

* DAP progress

* Restructured the project layout
Added CMake build support

* added linux workspace

* added missing files

* added more missing files

* Separated dap source files into a separate library libdapcxx.a

* MSW: renamed binary output to gdbd

* Implemented handling for SQLite error: disk I/O error
	fixes: eranif#2416

* Set CodeLite version to 14.0.0
C++ class generator: use .hpp file by default instead of .h

* Fixed: wxCrafter Panel Cannot be resized correctly
	fixes: eranif#2415

* When loading wxC view, expand the top level node item

* GDB: when listing stack variables, ask for values as well.
fixes: eranif#2420

* Reverted commit #29c491574

* DAP: Implemented Initialize, Config and Launch request / response

* DAP: implemented: DisconnectRequest, DisconnectResponse, BreakpointLocationsRequest, BreakpointLocationsResponse, SetBreakpointsRequest

* Fixed: file system workspace: include -std=xx options in the generaetd compile_flags.txt file

* Use macros to simplify the coding of the various objects

* More macro usage

* More macro usage

* DAP: Support ContinueRequest & ContinueResponse
DAP: LaunchRequestArguments - extend the default spec to include gdb specific info

* Added support for Sockets

* DAP WIP

* Removed DAPGdb from the source tree
and moved it into a separate repository
https://github.com/eranif/gdbd/tree/master/dap

* New C++ class: support file system workspace

* Fire clFileSystemEvent.wxEVT_FILE_CREATED event when creating new class.
This event is handled by other plugins like git (to add the new files to git) and by the Explorer view: refresh the view
to reflect the newly added file(s)

* Gnome terminal does not work casued by 4e270fb. Change it back.

* Fix build error on MacOSx

* Fixed: when choosing a template function from the code completion, the inserted code block is shuffled

* File System workspace: update the files cache when a new file is created

* Fixed build on Linux with older compiler type

* Remove two no-longer-used variables

* Add BestSizeAndPosition() calls when editing some Project Settings fields

* Fixed possible buffer overflow
Indentation update

* Give the git log dialog a Close button

Also, make the dialog Close when ESC is pressed.

* Make the ESC key close the git blame and git diff dialogs

Also, fix the sizing of the git log dialog after the last commit.

* wx-config: support uxtheme on windows

* Remove unused function ConsoleFinder::GetConsoleName

Also remove similar, commented-out code from procutils.cpp

* When offering a list of possible terminals in Settings > Preferences >Terminal, don't include ones that are not currently available on the user's system

* Allow the CodeLite sub-project to access clFindExecutable() by moving it to CodeLite/fileutils

It can still be used via Plugin/globals, which now relays to fileutils.

* In GTK, check that gnome-terminal is installed before choosing it as the default

If it doesn't exist, use the built-in codelite-terminal instead. The user can always change this later.

* Blind fix for compilation failure on some systems after the last commit

* wxCrafter: should now also be working with File System Workspace

* Make the git CommitList and Blame dialogs respond to the keyboard again
Commits 8a21a79 and 0a3077c made the dialogs close when ESC was pressed, but broke keyboard input.

* Fix the layout of the git settings dialog

For some strange reason, specifying a height broke the layout of the 3rd page. Also, reduce the width from 500 to 300, which is easily wide enough.

* wx-config: include -loleacc

* Fixed: cmake: CL_OUTPUT_DIRECTORY wrong in generated CMakeLists.txt
    fixes: eranif#2427

* Fixed: SFTP bookmarks does not work

* ssh-agent: start a new instance per connection

* Renamed FileUtils::clFindExecutable -> FileUtils::FindExe
GCC locator: use regular expression to locate gcc files located under /usr/bin
LSP Clangd: use the environment variable PATH to locate any clangd installed

* On Windows, LLVM installs the compiler under "bin" folder, add it to the regkey value

* Clangd: use regex to locate clangd installations

* Fixed: build error on Linux

* Fixed: Windows regression: clang compilers are not detected

* File System Workspace: shuffle the pages in the workspace view

* The stop build button in the c++ workspace's mini toolbar was removed.
The build button now changes its icon to stop while build is in progress

* When the button changes its icon, it also updates its tooltip

* clDiffFrame, used e.g. by git Diff View, can now be closed with the ESC key

* Minor UI change to the way we draw toolbar's background colour
Bootstrap wizard: offer 4 options now in the colour settings: system default, dark, grey, light

* Added 2 new events: wxEVT_PROGRAM_STARTED & wxEVT_PROGRAM_TERMINATED
C++ workspace: added the option to stop an executed program from the mini workspace toolbar

* Fixed build with older compilers

* Circle.CI : use ubuntu:bionic as base Linux image
Circle.CI : Build for GTK3 against wx3.1

* Install gnupg on the CI image

* Install gnupg2 on Ubuntu

* CI: install software-properties-common needed for apt-add-repository

* CI: use make to launch CodeLite's build

* added libnotify4

* Change the order of the workspace mini toobar bar buttons

* Renamed some of Git menu entries

* Update folder images for the light theme

* Moved various log lines to DBG1 fro DBG

* Debugger: use better default values

* removed duplicate file entries from the workspace

* Fixed build errors on Linux

* Code completion dialog: better initial dialog size

* - File System Workspace: the mini build toolbar now has shifting states buttons simialr to the c++ workspace toolbar
- Added new clEnhancedToolBar class to support buttons with dual bitmaps/actions

* Make Ctrl-C in the Output tab of the Debugger Panework work again

This broke during the change to wxTerminal.

* In the Debugger-pane Output tab, make Ctrl-C copy, not cut

wxID_COPY and wxID_CUT were being bound to OnCut and OnCopy...

* Auto prompt for LSPs when first time installing CodeLite

* Fixed: Unable to select open file from dropdown if another unmodified with same name is open above it
    fixes: eranif#2229

* CodeLite's main tab control: display the parent folder in the tab's label

* Fix a missing-bitmap assert in the Keyboard Shortcuts dialog

* use native scrollbar for the variosu tree controls

* For light tabs, use the default text colour and not the marler colour

* Fixed: MSW: find in files window and other 'output' tab window did not use ligature fonts when it was explicitly set

* Fixed: tab's label changed back to file name only when editing the file

* When closing C++ workspace, clear the parser thread search paths.
This fixes symbols "leaking" when switching between workspaces

* clTreeCtrl: on GTK, use the custom toolbar and not the native one

* clangd compile_flags.txt: add the  -target x86_64-pc-windows-gnu or -target i686-pc-windows-gnu flag based on the currently selected compiler
MSW: fixed make-weekly script to clear PCH before starting the build
File System Workspace: save all modified files before building _without_ prompting the user

* Change various dialog's style (Open resource, quick outline, goto anything)

* Goto anything: removed border around the dialog

* Fixed: goto anything: remove wxBORDER_NONE

* Use sysctl -n hw.ncpu to get the number of CPUs on macOS

* Update README.md

Updated/corrected the Linux build info

* Fixed: Regression that prevented hiding the Line-numbers margin

5e4cd5a introduced clEditor::UpdateLineNumberMarginWidth, which omitted checking the option.

* indentation fix

* Showing the parent folder on each tab is now optional

Since 8c5220d tabs are labelled with the parent folder in addition to the filename.
This commit makes that optional.

Note that updating the setting has to be applied from the wxEVT_EDITOR_SETTINGS_CHANGED handler;
doing it direct from EditorSettingsDockingWindows::Save will fail as its 'options' object
has not yet been serialised.

* Git push now runs the command: "git push" without prompting the user

* Compilation fix for ubuntu xenial (16.04) and similar

The ssh version check was wrong (see eranif#2443).
Bump it from 0.6.1 to a (guestimated) 0.6.5.

* By default, show minimal list of buttons in the toolbar when first time installing CodeLite
By default, enable minimal list of plugins (by profile type)

* Another trivial spelling fix to placate lintian

* Fix build with libssh v7

ssh_get_server_publickey exists since 0.8.0

* Upgrade the helper script codelite_open_helper.py to use python 3

The script itself is now compatible with either python 2 or 3, but
change the #! to call python3 which is more future-proof.

* Fixed build with recent wxWidgets HEAD

* clTreeCtrlPanel: call SelectItem directly without 'CallAfter'

* Find In Files: Use clThemedChoice for the encoding

* Find In files dialog: use clSetSmallDialogBestSizeAndPosition to set it's size

* Use clThemedComboBox in the find-in-files dialog

* Better position the clComboBox drop down menu

* version update to 14.0.1
Fixed copyright years to 2020

* synced with latest wxCustomControls
Find In Files: all wxComboBox controls are now clComboBox

* Synced with latest wxCustomControls

* Synced with latest wxCustomControls

* clComboBox: added SetFocus event handler

* remove the border around the clComboBox

* Synced with latest wxCustomControls

* Fixed: File System Workspace: keep the last 'File mask' value used

* Tabs View: honor the 'Show file path' option

* clTreeCtrl: use native scrollbar on all platforms

* Add size checks: allow only sizes >= 0 and no more than DC size

* File System Workspace: moved the 'tool chain' drop down to the 'General' page

* File System Workspace: split the settings into 2 different files: a local and shared file
 The content in the "local" files is kept under .codelite/ directory in the workspace folder
 and is not to be saved into git or any source control
 The default .workspace file contains properties that should be shared
File System Workspace: added 'working directory' field
JSON: added operator[] for easier access (in addition to the namedObject() method and arrayItem())

* sync with latest wxCustomContorls

* clTreeCtrl: call wxSafeYield to smoothen the scrolling experience

* use wxYieldIfNeeded instead of wxSafeYield (which does not work well on Linux)

* use custsom toolbar for GTK2

* When generating compile_flags.txt file, pass the standard as well (-std=c++11 etc)

* code completion: if there is a single match which is an exact match (case insensitive) - dismiss the completion box

* when cc box auto insert the selection (without the user intervention)
don't attempt to code completion method function signature

* some UI changes in the tree and list controls to use more realestate

* clThemedListCtrl: use the style 'wxDV_ROW_LINES' by default

* GTK: reduce the treectrl + list ctrl row vertical spacer to 0

* Don't auto insert single selection unless specifically selected by the user

* when there is a single match in the CC box that matches what the user typed, close the cc box

* Dont use CallAfter for the 'Quick Outline' dialog - this should fix delay in selection

* update copyrights to 2020

* LSP: added classes to support the 'textDocument/documentSymbol' command

* Removed unneeded file

* LSP: optimized the traffic between LSP <-> CodeLite by adding checksum checks before calling LSP to re-parse a file
LSP: added support for implemented 'extDocument/documentSymbol' protocol message

* update PHP xdebug UI view to fit the IDE look

* Include clangd.exe as part of CodeLite installer on Windows & auto configure LSP for C++ (Windows)

* LSP: added an option to set 'Initialization Options' in the LSP description page

* LSP: send Initialized notification to the server
LSP: print various telemetry messages in the log

* Apply environment variables before launching LSPs

* Use plaintext documentation formatting

* Support debugging child process
Honor user's ~/.gdbinit file

* print the result incase of an error

* Don't allow spaces in the workspace configuration name.
CodeLite will change it to underscore

* Find in files: select the 'find what' text when showing the fif dialog
clComboBox: use default wxTextCtrl (and not wxTE_RICH2)

* LSP: clangd auto detector: increase the number of matches from 100 to 500 (by default)

* minor update to the MINIMAL / DEFAULT tab visual

* file system workspace: added an option to use remote build

* rename: Enable remote build -> Use remote build

* Windows: minimal view now also hides the menu bar
Fixed: Ctrl-Shift-P -> Show Menu Bar is now working as expected

* Prevent hangs under Wayland when changing Workspace View tabs; fixes eranif#2457

Trying to change tabs was resulting in a Wayland abort, which caused CodeLite to hang.
Its backtrace shows only wayland/gtk+/wx calls; the highlights are:
#2  0x00007ffff406f595 in wl_abort (fmt=fmt@entry=0x7ffff407024f "Error sending request: %sn") at src/wayland-util.c:417
#3  0x00007ffff406b505 in wl_proxy_marshal_array_constructor_versioned
#6  0x00007ffff7c8c0fa in notify_content_type.part () at /lib64/libgtk-3.so.0
eranif#7  0x00007ffff7c8c1e8 in enable () at /lib64/libgtk-3.so.0
eranif#8  0x00007ffff655b0c5 in wxWindow::GTKHandleFocusIn() (this=0xf513a0)
eranif#27 0x00007ffff65584b4 in wxWindow::SetFocus() (this=<optimized out>) at ./src/gtk/window.cpp:4580
eranif#28 0x00000000007dfbfd in wxNavigationEnabled<wxWindow>::SetFocus()

'Fixed' by not trying to set focus when the tab changes.

* Remove Wayland testing code made redundant by the last commit

* Fixed typo in README.md - wrong gtk package name

* Disable the 'hide menu bar' on Windows (accelerators do not work when the menu bar is hidden)

* removed noise from log

* Moved debugger breakpoint class definition to libcodelite
Renamed BreakpointInfo -> clDebuggerBreakpoint
Added m_breakpoints to class clDebugEvent
A plugin can provide list of breakpoints in the wxEVT_DEBUG_STARTING event which will override CodeLite's default ones

* gdb cleanup: use wxEVT_DEBUG_ENDING & wxEVT_DEBUG_ENDED fired from gdb to indicate that a cleanup is required

* clDebuggerBreakpoint: added JSON serialization methods

* Added clDebuggerBreakpointStore class

* Properly save/load workspace breakpoints and avoid mixing between two different workspaces breakpoints

* DEFAULT tab style: move the marker drawing to the left

* sftp plugin: don't attempt to remote save files that are not part of our source tree or were opened by the SFTP plugin

* disable the native scrollbars on Linux
Fixed: clChoice & clComboBox: drop down menu does not appear
Added GTK2 build configuration to the workspace

* ssh-agent: use ::CreateAsyncProcess to launch it on Windows and not wxExecute (it does not work from worker threads)

* Similar to Windows, on GTK don't use wxExecute to launch ssh-agent

* added control file wxCustomControls.hpp which allows to use native controls instead of custom drawn

* if the native theme is already dark, use that colour instead of the custom dark colour guessed by CodeLite

* More UI updates to the tabs

* reverted fix done to clTabRendererClassic

* fixed build error on windows

* Added clangd v10 for Linux
Linux: install clang-tools-10

* renamed clang-tools-10 -> clang-tools
added an option to set environment variables for LSPs

* LSP: added UI to display the environment variables defined by the suer

* Fixed: don't use thread to auto detech LSPs on Linux/macOS

* Dont use hard coded path /usr/share/codelite/clang-tools.tgz, instead use clStandardPaths to locate the file properly

* Fixed: macOS: drawing issues

* macOS: another drawing issue

* Added clang tools for macOS

* macOS: install latest clangd / clang-format (v10)
Remove spam message from codelite.log

* on macos, use native button, choice and combobox

* Use a better unicode image for drawing drop down arrow

* On GTK, use native choice, button and combox
Use thread to auto detect LSPs
clangd LSP detector: honour the clStandardPaths::Get().GetUserDataDir() and don't hard code "~/.codelite/"

* File System workspace: Code Completion: added a button that generates a compile_flags.txt file suitable for clangd

* File Systwem Workspace Tree: added an option to add a folder to the code completion include paths

* File System Workspace: added an option to add folders to the code completion search paths from the folder context menu
File System Workspace: You can now right click a folder -> code completion -> generate compile_flags.txt (this will also restart clangd)

* Fixed: build error on macOS catalina

* macOS: added PCH
ø

* fixed: wrong colour used for background in the workspace tab

* Windows: install latest clang-format

* GTK: added new Native notebook

* Added new build target (Linux): Debug - Native Notebook

* fixed history for GTK native notebook

* GTK notebook: added action button

* GTK, by default use native notebook

* Fixed CMakeLists.txt build with native notebook on GTK

* Fixed: AddPage/InsertPage -> make sure that the child is Reparented to the notebook before adding it

* Use a slightly bigger 'drop down' image

* Expand project macros (e.g. $(WorkspacePath)) before generating compile_flags.txt file

Co-authored-by: Eran Ifrah <eran.ifrah@gmail.com>
Co-authored-by: eifrah <eifrah@amazon.com>
Co-authored-by: Eran Ifrah <eran@codelite.org>
Co-authored-by: 1123852253 <1123852253@qq.com>
Co-authored-by: xukev <xuguoying2004@hotmail.com>
Co-authored-by: Kevin Xu <xukev@kevins-mac-pro.ads.autodesk.com>
Co-authored-by: dghart <dghart david@4Pane.co.uk>
Co-authored-by: dghart <dghart@users.noreply.github.com>
Co-authored-by: rezso <rezso@rezso.net>
Co-authored-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant