Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change in writing comments inside do-file editor

    Hi,

    Since last update I've done with StataNow, I've realized some troubles editing and reading my programs.
    Indeed, I was used to separate several blocks of code with the standard comment delimiter /* and */, with some others special caracter between.


    With the "=" caracter, it is still OK :

    Code:
    /*=============================================*/
    *Here I write some useful comments
    /*=============================================*/
    
    ******* STEP 1*******
    webuse auto.dta
    But with my other way of separating with /****/, it is not ok any more. Indeed it seems Stata doesn't catch the end "*/" of the comment such that the command line "webuse auto.dta is also considered as comment!!! It was not the case before the update!!!

    Does someone has an idea to modify such new configuration?
    Code:
    /*********************************************************************************************************************/
    *Here I write some useful comments
    /*********************************************************************************************************************/
    
    ******* STEP 1*******
    webuse auto.dta
    Code:
    Update status
        Last check for updates:     28 Jan 2025
        New update available:       none         (as of 28 Jan 2025)
        Current update level:       18 Dec 2024  (what's new)

  • #2
    This is a bug with the display of comment highlighting in both Stata 18 and StataNow 18.5. It will be fixed in a future update. This has been noted here already here and here.

    Comment


    • #3
      Originally posted by Leonardo Guizzetti View Post
      This is a bug with the display of comment highlighting in both Stata 18 and StataNow 18.5. It will be fixed in a future update. This has been noted here already here and here.
      Thank you very much Leonardo! I hope the update correcting it will come as soon as possible !

      Comment

      Working...
      X