News:

Let's find out together what makes a PIC Tick!

Main Menu

How to Insert a Header

Started by streborc, Apr 13, 2026, 07:25 PM

Previous topic - Next topic

streborc

I just recently transitioned to Studio V2.1.0.4 from V2.0.3.3.  I've used V2.1.0.4 for updating and editing some existing *.bas files.  Today, I wanted to start a new program from scratch, clicking on New\Source.  A blank editing screen appears.  (When I click New on V2.0.3.3, an editing screen appears with the header present.)  I navigated into Tools\Options\Headers, and from there have tried every permutation of settings I can think of, but nothing results in the insertion of a header.  Neither "Add Header Automatically" nor "Use Custom Header" does anything.  What is the blank box on the right beneath "Add Header Automatically" intended for?  I can type in it, but it produces nothing.  I can create a *.bas file, call it "My_Header", open it as a starting point and then store it as a renamed file, but why is this work-around necessary, when the Tools\Options\Header is supposed to do this?  I'm running under Win7 Pro if this has any impact.  I must be overlooking something obvious, but certainly not obvious to me.

top204

#1
I'm running version 2.1.0.4, and I cannot get the Header to work either.

I always create my own header text, so I have never tried it before, but even when set with a text such as "Hello World, this is my code", a new file remains empty.

I've also noticed that there is no way back from some of the header tick boxes, so if one is chosen, and you change your mind, it does not seem possible to go back to the original format for them.

Regards
Les

streborc

Les -

Thanks for the sanity check on this.  I've also noticed that when I click on the "Fuses" from the opening blank page, a Windows error box pops up, and completely locks up the Studio app.  I can close it only through Task Manager's End Task.


Frizie

For Windows 7, I always use the Mecanique IDE which is included with Positron.
It is simple, but stable  :D
Ohm sweet Ohm | www.picbasic.nl