Author Topic: push-tag not working in python in beta2 x64 linux  (Read 134 times)

rowbearto

  • Senior Community Member
  • Posts: 2206
  • Hero Points: 132
push-tag not working in python in beta2 x64 linux
« on: September 12, 2022, 05:37:30 pm »
I have a python class where I have a function, trivial example below.

When I do push-tag on self.func2() in func1 it doesn't take me to func2.

Code: [Select]
class SomeClass:
   def func1(self):
     #Do push-tag on 'func2' below, it is not taking me to func2
     self.func2()

  def func2(self):
     pass

Using beta2 on x64 linux, CentOS 7

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6396
  • Hero Points: 497
Re: push-tag not working in python in beta2 x64 linux
« Reply #1 on: September 12, 2022, 09:39:07 pm »
Hmm...I'm not able to reproduce this. I just pasted your above code into an empty python file. I didn't add it a project.

Maybe try a default config.

rowbearto

  • Senior Community Member
  • Posts: 2206
  • Hero Points: 132
Re: push-tag not working in python in beta2 x64 linux
« Reply #2 on: September 13, 2022, 12:59:09 am »
I gave the wrong instruction. I'm not using 'push-tag', I'm using 'push-tag-filter-overloads'.

Please try with 'push-tag-filter-overloads'.

I had overridden my Ctlr-. to be 'push-tag-filter-overloads' and forgot about that when I made the first post.

I use 'push-tag-filter-overloads' because in C++ I like to filter out the overloaded functions. I bound Ctrl-. to it. In Python I would think that the 'push-tag-filter-overloads' should work just like 'push-tag'? It used to work in 26.0.3 and before.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6396
  • Hero Points: 497
Re: push-tag not working in python in beta2 x64 linux
« Reply #3 on: September 13, 2022, 01:59:22 am »
Dennis is out this week. I’ll pass this along to him.

You could make a language specific key binding to work around this problem

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3723
  • Hero Points: 489
Re: push-tag not working in python in beta2 x64 linux
« Reply #4 on: September 19, 2022, 07:56:15 pm »
Reproduced.  Will fix for Beta3.

Also of note:  In most emulations, push-tag-filter-overloads is now bound to a key by default, most often Alt+Shift+Dot.

This way you can easily use push-tag-filter-overloads only when you really need it.