Discord
Login
Community
DARK THEME

More Highlighted keywords

I believe that key words like:

  update,
  draw

Should be highlighted in blue as these are functions that you OVERWRITE. It would be a good difrence between user created functions and overriden microStudio functions.

The math functions like:

  sin,
  cos,
  round,
  pow and others

Should be in green. why? well other engines color thier math functions a diffrent color. Ig it's also a great difrence between other functions like drawSprite or input functions.

The draw functions like:

  drawSprite,
  clear,
  fillRect,
  drawLine and others

Should be dark red. I think it would look nice and it would show that these are official microStudio graphics API functions.

I would love this simple features in the coding editor. It would make coding in microStudio that much fun! I know it's a quality of life feature, but I belive it's pretty useful. Thanks for reading and waiting for feedback!

This could be a good idea, however, it may confuse new users. For example, in the code snippet

player = object
  x = 0
  y = -30
  draw = function()
    screen.drawSprite("player", this.x, this.y, 20)
  end
end

draw would be blue, despite not overwriting the draw function.

Well I think it is duable to not color draw if it's under a user created class. But this is @gilles that decides :))

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community