Author Topic: AS7 won't let me write a dot  (Read 2945 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17990
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
AS7 won't let me write a dot
« on: November 01, 2015, 02:50:38 pm »
I'm trying to write: #include "timer1.h" but AS7 refuses to write the dot, with either key. In fact it won't use the dot key anywhere. So how does one write a program ?
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8384
Re: AS7 won't let me write a dot
« Reply #1 on: November 01, 2015, 02:59:34 pm »
That is a weird bug...

Open the file in another text editor and do it.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17990
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: AS7 won't let me write a dot
« Reply #2 on: November 01, 2015, 03:09:27 pm »
Extremely, the whole point of AS7 to me is the fact that I write code and it colurs text differently depending on what it is which i like.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17990
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: AS7 won't let me write a dot
« Reply #3 on: November 01, 2015, 03:12:57 pm »
A restart seems to solve it, very weired, I seem to remember the same problem in 6.2 actually.
 

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: se
Re: AS7 won't let me write a dot
« Reply #4 on: November 01, 2015, 03:19:14 pm »
AS7 as in Atmel Studio 7, I suppose.
Just working with it now...no problems with either key.
Possibilities:
  • HW problem: Not likely. The USB scancodes for the two keys are different
  • Key redefinition inside AS7: also not likely, VS/AS7 won't let you redefine a "visible" key.

This leave us with poltergeist...most appropriate, given the date :scared:

Additional thoughts:
  • Windows keymap problem: does the "." work outside AS7? Have you loaded a custom keymap in Windows?
  • You could try disabling all the assist function in AS7 (VAssisX)
  • Also, try to reset AS7 key to "Default"

I must say that AS7 has got a weird keyboard handling: I'm used to "Alt-arrow up/down" to move selected lines around, and there's no way I can convince AS7 to honor my setting...

Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17990
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: AS7 won't let me write a dot
« Reply #5 on: November 01, 2015, 03:24:53 pm »
A restart solved it. Not impressed. Standard keyboard etc.
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2710
  • Country: us
Re: AS7 won't let me write a dot
« Reply #6 on: November 01, 2015, 05:52:24 pm »
This is a bug related to Visual Assist and is not specific to Atmel's customized version of Visual Studio.  The root cause is a corrupted .suo file (.atsuo in AS).  Closing the program and deleting the .suo/.atsuo file from your solution folder will fix the problem.  I don't know what the file is used for, but it will be regenerated the next time you open the solution.  You can also disable Visual Assist, which disables a lot of helpful features, but it's good for temporary relief.  The problem also isn't specific to the dot character, I've seen it crop up with opening parentheses and brackets as well.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17990
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: AS7 won't let me write a dot
« Reply #7 on: November 01, 2015, 06:02:17 pm »
Ah yes that was it, parenthesis that I had the proble with before.
 

Offline obiwanjacobi

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: nl
  • What's this yippee-yayoh pin you talk about!?
    • Marctronix Blog
Re: AS7 won't let me write a dot
« Reply #8 on: November 03, 2015, 11:13:03 am »
The .suo file stores the user options/settings for the solution. These are settings specific to the user not to the project(s) and is (typically) not checked into source control...

Use Ctrl-Arrows to navigate 'tokens' and press addition shift to select it...
Arduino Template Library | Zalt Z80 Computer
Wrong code should not compile!
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10188
  • Country: nz
Re: AS7 won't let me write a dot
« Reply #9 on: November 03, 2015, 11:35:36 am »
Sometimes keys just stop working in windows. Started happening in win7 and still happens randomly even in win10. Its pretty rare though, maybe once or twice a year.
I think there is a bug in the keyboard driver somewhere.

I've seen it on multiple computers. A restart always fixes it.
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf