little enhancement for the PSOC creator

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 I have been working for a year with the PSOC creator. But also I have worked with a C++ IDE called Code Blocks. I have to say that it is less comfortable using PSOC creator because of the little details that could be added to it which already exists in CodeBlocks. small details such as I have to only open a single bracket after an if condition and the program immediately finishes the other bracket and the semicolon.

   
        
   
    these small details can mean a lot to programmers working for hours on the PSOC creator. check the Code Blocks program, it is an open source project anyway and please consider the comfort of your clients.   
   
        
       
        
   
    Regards,   
   
    Mahmood Adhab   
0 Likes
13 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Cypress already added "Code Completion" for PSoC Designer in the last version and it runs pretty good! Not even the braces after the "if" which is a single keystroke, but all the library-functions as well: Imagine, you have got an LCD usermodule in your design, when now you type "LCD_" you are presented with a list of all the APIs and may choose the right one. THAT not only saves keystrokes, but also the look into the datasheet for 1st WHAT is the API's name and

   

2nd How it is spelled.

   

I presume that this feature will be added soon into one of the next releases of  Creator.

   

 

   

Bob

0 Likes
Anonymous
Not applicable
        wow, this would be perfect 😄 . see this is what I mean, small details that could mean big change.   
0 Likes
Anonymous
Not applicable

 Code completion with  API support would be so usefull, a great time saver.

0 Likes
Anonymous
Not applicable

 Some other nice enhancements would be:

   
        
  • Jump to definition / declaration
  •     
  • Refactoring of symbols
  •     
  • Auto indent selected source code
  •    
   

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

YES!!! I am used to Borland's (former) IDE and they had this frequently used feature and - what is absolutely neccesary - a keystroke to go back where you originally came from!

   

This feature organized like the back and fore button in a brwser may be something new for an IDE but nonetheless a helpful feature easy to implement.

   

 

   

Bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

@Abnoname

   

Autoindentation of selected source code: isn't that already working? Like (un)commenting you may use in/decrease indentation from the menu or just push the Tab-key.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

@abnoname

   

 

   

The jump to f(), I have seen that implemented in Freescale Codewarrior, a small

   

comment window pops up, giving f() call and return parameters, type, name, and its

   

basic functionality. Its great, virtually eliminates need for manual to lookup properties.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 then I guess everyone here agrees that the Creator needs some improving.

   

Regards,

   

Troublemaker 

0 Likes
Anonymous
Not applicable

 The only question is why didn't you use one of well known and well imporved open source IDE as a base for the PSoC Creator? Best choice would be Eclipse CDT - many useful functions that make programmers life easier would be already done for you...

   

Regards, pr0cj0n

0 Likes
Anonymous
Not applicable

 Although Eclipse is a fine tool and it seems like most of the manufacturers are using it. I think that it would have been a mess trying to integrate all the required tools needed to for a PSOC design on Eclipse.

   

(also , I don't like Eclipse, I think it is reason enought  😛 )

0 Likes
Anonymous
Not applicable

 IMHO the only solution would be to allow us to use Eclipse somehow. Eclipse is proven and the standard as every major MCU manufacturer is using it in their IDEs - Freecsale, NXP, TI. Of course integrating it with PSoC will be a lot of work but maybe there is some way to export the C firmware coding part only so it can be used as a normal Eclipse C project. I think it is already possible to export a project to Keil MDK so why not adding the same for free Eclipse? Eclipse is incredible when used for code completion or digging through C files. I am really missing it when having to browse through the generated API files in PSoC Creator.

0 Likes
Anonymous
Not applicable

PSOC creator uses gcc as compiler you can use eclipse whenever you want. 

   

Configure your modules/clocks on creator and perform the code generation steps. Then when you are ready to stat coding just import the files on eclipse. Of yourse you will have to configure eclipse and build your tool chain yourself. 

0 Likes
Anonymous
Not applicable

Hello,

   

I am using PSoC Creator 3.3 which has code completion which is working pretty good. But, beside the option "Match text anywhere in completion", I am missing some option like "Match any char anywhere in completion" (maybe also "Ignore character sequence" sub-option), which is present by default in many environments.

   

As example, I am using GUI library and I know it has Alpha blending property. I start typing "GUI_SetAl" and I expect to see some suggestions, but there aren't any because function is in fact GUI_SetLayerAlpha.

   

In some other IDE's I could type, as example "gialpa" and it would suggest also "GUI_SetLayerAlpha", sometimes even sequence of chars is ignored.

   

This feature is, in my opinion, extremely useful and it makes writing code much faster. Not only that user don't have to always look and search header files to see what is the proper name or prefix for desired functions, but it actually makes writing code faster, as example I only need to type "alph" and I would immediately see only "GUI_SetLayerAlpha()" function (because this is only function with alpha in its name). Or just typing "puts" for "UART_PC_PutString()" when using only one or few UART instances. Or just typing "isrbex" for "ISR_Power_Button_StartEx()",... there are countless cases where such feature would be very appreciated (also considering the fact is quite easy to implement with minor changes).

0 Likes