 |
 |
View previous topic :: View next topic |
Author |
Message |
pgvt
Joined: 17 Aug 2024 Posts: 8
|
Published |
Posted: Fri Nov 15, 2024 4:25 pm |
|
|
https://marketplace.visualstudio.com/items?itemName=pgvt.picc-ccs-support
Reminder:
It is a non-official and non-affiliated with CCS thing!
The work was done 85% by AI on a quick manner rather for my personal use.
Use it on your risks.
The official PCW IDE has a lot of specific features like new project wizards with huge time-saving startup benefits, and help integrations, that this extension cannot substitute.
Features:
-VSCode IntelliSense features (code completion, parameter info, quick info, member lists)
-Compile / Clean as Tasks
-See and navigate to lines with Errors / Warnings / Information at PROBLEMS window
-Contextual Help (ccsc.chm) by right-click over a word in code
For further ideas, development etc. please comment here. |
|
 |
pet007
Joined: 25 Jan 2023 Posts: 22
|
|
Posted: Sat Mar 01, 2025 1:18 am |
|
|
Yes, the CCS plugin mentioned above works well. For me, "IntelliSense-based" shortcuts and features are a "must-have" nowadays.
For example, ALT + left/right arrows, proper member access when passing a pointer to a function, and all the other features common in CubeIDE/Eclipse are essential if you're writing code seriously.
I'm sorry, but the CCS IDE feels heavily outdated. :( |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9445 Location: Greensville,Ontario
|
|
Posted: Sat Mar 01, 2025 6:25 am |
|
|
After you've used it for 2+ decades, it won't feel 'outdated' rather an extension of your body and soul and you'll appreciate it more ! |
|
 |
pgvt
Joined: 17 Aug 2024 Posts: 8
|
Thanks |
Posted: Sat Mar 01, 2025 2:01 pm |
|
|
After >400 installs finally a word here.
I'm glad I am helping you to enjoy more this great compiler. |
|
 |
henrry_std3
Joined: 06 Mar 2025 Posts: 3
|
|
Posted: Sat Mar 08, 2025 1:51 am |
|
|
It looks amazing man! Now I will work much better with CCS in VS Code. Thanks for this outstanding extension!! |
|
 |
JeromePeters
Joined: 21 Mar 2025 Posts: 1
|
Re: Here you go: |
Posted: Fri Mar 21, 2025 6:21 am |
|
|
pgvt wrote: | 1. Create a sub-folder ./vscode and place inside:
2. A new file named tasks.json with contents:
Code: |
{
"version": "2.0.0",
"inputs": [
{
"id": "picFlavor",
"type": "pickString",
"description": "Select: +FH(PIC18), +FB(PIC12), +FM(PIC16) or +FD(PIC24)",
"options": ["+FH", "+FB", "+FM", "+FD"],
"default": "+FH"
}
],
"tasks": [
{
"label": "Build Project by PICC",
"type": "shell",
"command": "C:\\Program Files (x86)\\PICC\\ccscon.exe",
"args": [
"-M", "-T", "-A", "-Z",
"${input:picFlavor}",
"+EA", "+P02", "+J", "+STDOUT", "+O8hex",
"${file}"
],
"presentation": {
"echo": true,
"revealProblems": "onProblem",
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"owner": "custom",
"fileLocation": ["absolute"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(Info|Error|Warning)#(\\d+)\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
}
}
]
}
|
3. Also a new file named settings.json with contents:
Code: | {
"C_Cpp.errorSquiggles": "disabled",
"C_Cpp.codeAnalysis.clangTidy.checks.disabled": [
"clang-diagnostic-error"
]
} |
4. Also a new file named c_cpp_properties.json with contents:
Code: |
{
"configurations": [
{
"name": "PICC",
"includePath": [
"${workspaceFolder}/**",
"C:\\Program Files (x86)\\PICC\\Devices",
"C:\\Program Files (x86)\\PICC\\Drivers"
],
"defines": [
]
}
],
"version": 4
}
//https://code.visualstudio.com/docs/editor/variables-reference
|
5. Download latest vscode and ... patience to load everything ...
6. Optional: For fast access you can create a shortcut to vscode with modifying the Target: field this way:
Code: | "C:\Users\<yourusername>\AppData\Local\Programs\Microsoft VS Code\Code.exe" "C:\your project absolute path" |
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
link
|
Thanks you! |
|
 |
pgvt
Joined: 17 Aug 2024 Posts: 8
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|