feat: [session] add session manager to save/restore workspace state #1809
Annotations
6 warnings
Run linuxdeepin/action-cppcheck@main:
src/plugins/codeeditor/gui/workspacewidget.cpp#L75
Local variable 'cmd' shadows outer variable
|
Run linuxdeepin/action-cppcheck@main:
src/plugins/core/session/sessionmodel.cpp#L82
Obsolete function 'qSort' called. It is recommended to use 'std::sort' instead.
|
Run linuxdeepin/action-cppcheck@main:
src/plugins/core/session/sessionmodel.cpp#L15
When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'sessionList' a value by passing the value to the constructor in the initialization list.
|
Run linuxdeepin/action-cppcheck@main:
src/plugins/debugger/dap/dapdebugger.cpp#L1593
Consider using std::transform algorithm instead of a raw loop.
|
Run linuxdeepin/action-cppcheck@main:
src/plugins/recent/mainframe/sessionitemwidget.cpp#L107
The function 'reverseArrowDirection' is never used.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading