primordic/IssueDupesLite huggingface dataset:
Repository: CoatiSoftware/Sourcetrail

Issue #360: Automatically sync displayed code location with editor via plugin
Created: 2017-04-04T20:55:02Z

Duplicate issue #687: Add "Show in IDE" to Node context menu
Created: 2019-04-20T01:25:24Z
It would be very handy if "Show in IDE" was also available in each Node's context menu. That would allow the Sourcetrail Code Window to be closed. Then user could use Sourcetrail Graph Window along side the IDE with its source code views.
On a related note, it would be great if there was a "Autoshow in IDE" option. When enabled it would Send to IDE each time the Node active changed. So the two would stay in sync when moving around in Sourcetrail.

Closing comment (2019-04-23T11:20:54Z): Implemented with 2019.1.34
Added Show Definition in IDE action to context menu for nodes (shortcut Ctrl + Left Click).
Your second suggestion is a duplicate of #360
Repository: CoatiSoftware/Sourcetrail

Issue #50: Pin Graph Nodes and Edges
Created: 2016-03-08T15:06:31Z
Pin graph nodes and edges to the screen so they don't disappear when moving on to another node. Would enable creating a specific map of a certain procedure, kinda like the attached image

Duplicate issue #209: Make nodes stay in the graph, including their path to the current node
Created: 2016-09-26T14:11:53Z

Closing comment (2017-02-14T23:20:00Z): Best implemented with a pinning feature
Duplicate of #50
Repository: CoatiSoftware/Sourcetrail

Issue #433: Add code folding
Created: 2017-07-20T14:35:57Z
i.e. to fold definitions, for loops, if/else, etc

Duplicate issue #662: Collapse parts of code
Created: 2019-01-08T12:23:43Z
e.g by scope or definition

Closing comment (2019-08-03T00:35:18Z): Duplicate of #433
Repository: CoatiSoftware/Sourcetrail

Issue #50: Pin Graph Nodes and Edges
Created: 2016-03-08T15:06:31Z
Pin graph nodes and edges to the screen so they don't disappear when moving on to another node. Would enable creating a specific map of a certain procedure, kinda like the attached image

Duplicate issue #655: Feature Request: Pin classes
Created: 2018-12-19T13:03:44Z
Sometime I just want to keep drilling, unfortunately at some point the layout collapses everything - after 3 hops? I understand that it is maybe impossible to make a clean layout but it would be great to pin some classes that shouldn't go away.

Closing comment (2018-12-20T11:58:12Z): I agree. This has been on our list for quite a while. I hope I get around to do it soon.
Duplicate of #50, closing
Repository: CoderMJLee/MJExtension

Issue #43: NSSet转换失败了
Created: 2015-04-23T06:01:12Z
在使用coredata的时候，系统会在生成的model中选择nsset ，像这种在转化的时候
@Property (nonatomic, retain) NSSet *marks;
这种怎么告诉MJExtension，marks里存放的是什么模型呢？

Duplicate issue #378: Coredata 联合使用问题
Created: 2016-04-18T06:44:06Z
coredata 建立了两个entity  entity1 包含entity2    由于core data里边包含关系 是用NSSet 集合 所以用您这个解析的时候失败了
// 不可变 -> 可变处理
if (propertyClass == [NSMutableArray class] && [value isKindOfClass:[NSArray class]]) {
value = [NSMutableArray arrayWithArray:value];
} else if (propertyClass == [NSMutableDictionary class] && [value isKindOfClass:[NSDictionary class]]) {
value = [NSMutableDictionary dictionaryWithDictionary:value];
} else if (propertyClass == [NSMutableString class] && [value isKindOfClass:[NSString class]]) {
value = [NSMutableString stringWithString:value];
} else if (propertyClass == [NSMutableData class] && [value isKindOfClass:[NSData class]]) {
value = [NSMutableData dataWithData:value];
}
是不是你这里需要加一个NSSet的呢

Closing comment (2021-09-08T03:15:43Z): Duplicate of #43
Repository: CoderMJLee/MJExtension

Issue #545: 关于解决32位BOOL类型转换json后成Int类型的问题
Created: 2017-06-15T08:52:00Z
在使用MJExtension时，发现BOOL属性在转换JSON后，在32位机器上出现转换成Int类型的问题。经查找，问题出现在MJProperty类的valueForObject方法，我尝试修改如下，即达到正确转换的目的。
还请能够更新一下源码。

(id)valueForObject:(id)object
{
if (self.type.KVCDisabled) return [NSNull null];
id value = [object valueForKey:self.name];
if(self.type.isBoolType){
value = @([(NSNumber *)value boolValue]);
}
return value;
}

Duplicate issue #574: 关于转换数值类型的问题
Created: 2017-11-14T12:11:23Z
您好，我在用框架进行模型转json字符串过程中，发现在iPhone 5c上的bool 值被转成了整数类型，但是在iPhone6上则为正常是bool型，这个是因为设备的原因导致的吗？系统同为10.3.3。

Closing comment (2019-05-30T10:18:12Z): Duplicate of #545
Repository: CoderMJLee/MJExtension

Issue #572: 请问为何我model定义的是nsnumber,接受下来之后精度缺损失了，用decimal也不行。
Created: 2017-11-07T09:19:09Z
9.7 就变成了9.68888888
这个问题有处理吗、 按理说用decimal接受是没有问题的啊。

Duplicate issue #13: 丢失精度
Created: 2015-02-06T05:53:28Z
杰哥，字典里value的值是double类型时。转成模型会丢失精度，变成整形。

Closing comment (2019-05-30T10:04:18Z): Duplicate of #572
Repository: CoderMJLee/MJExtension

Issue #43: NSSet转换失败了
Created: 2015-04-23T06:01:12Z
在使用coredata的时候，系统会在生成的model中选择nsset ，像这种在转化的时候
@Property (nonatomic, retain) NSSet *marks;
这种怎么告诉MJExtension，marks里存放的是什么模型呢？

Duplicate issue #193: NSSet or NSOrderedSet properties
Created: 2015-09-06T11:24:58Z
Hi,
I am trying to convert from JSON to CoreData model.
I have relationship between 2 models 1 to many and the property type of relation is NSOrderedSet. Is it possible to handle this situation and parse correctly?

Closing comment (2021-09-08T03:14:55Z): Duplicate of #43
Repository: CoderMJLee/MJExtension

Issue #43: NSSet转换失败了
Created: 2015-04-23T06:01:12Z
在使用coredata的时候，系统会在生成的model中选择nsset ，像这种在转化的时候
@Property (nonatomic, retain) NSSet *marks;
这种怎么告诉MJExtension，marks里存放的是什么模型呢？

Duplicate issue #296: mj哥字典->coredata模型里面有个集合的话  失败了
Created: 2015-12-15T07:00:12Z
服务器：
{
errcode = 0;
errmsg =     {
RestTime =         (
{
RestEndTime = "16:55:00";
RestStartTime = "08:55:00";
},
{
RestEndTime = "21:30:00";
RestStartTime = "08:00:00";
}
);
WorkEndTime = "21:30:00";
WorkStartTime = "08:00:00";
};
}
@interface ClinicTime (CoreDataProperties)
@Property (nullable, nonatomic, retain) NSString *workEndTime;
@Property (nullable, nonatomic, retain) NSString *workStartTime;
@Property (nullable, nonatomic, retain) NSSet<RestTime *> *restTime;
@EnD
转换之后打印的结果是这样的：
{
restTime =     (
);
workEndTime = "21:30:00";
workStartTime = "08:00:00";
}
我已经用了首字母大写了

Closing comment (2021-09-08T03:15:17Z): Duplicate of #43
Repository: CoderMJLee/MJExtension

Issue #578: model属性是uiimage的时候崩溃怎么解决
Created: 2017-11-22T04:38:35Z
model属性是uiimage的时候崩溃怎么解决

Duplicate issue #824: iOS 15字典中包含UIimage对象，崩溃
Created: 2021-09-18T03:55:53Z
为了排除你自己的问题, 请写一个 Demo
最好能提供出现bug的Demo
描述bug
model*
@interface Model : NSObject
@Property (nonatomic,strong) NSString *name;
@Property (nonatomic,strong) UIImage *image;
@EnD
解析**
NSDictionary *dic = @{@"name":@"111",@"image":[UIImage new]};
Model *model = [Model mj_objectWithKeyValues:dic];
期望结果
xcode12以前编译运行成功
xcode13编译运行崩溃
运行环境

iPhone10
iOS 15
Xcode 13

Closing comment (2021-09-20T09:32:50Z): Duplicate of #578
Repository: CoderMJLee/MJExtension

Issue #572: 请问为何我model定义的是nsnumber,接受下来之后精度缺损失了，用decimal也不行。
Created: 2017-11-07T09:19:09Z
9.7 就变成了9.68888888
这个问题有处理吗、 按理说用decimal接受是没有问题的啊。

Duplicate issue #688: [value description]精度丢失
Created: 2019-06-03T07:33:41Z

Closing comment (2019-06-04T09:13:30Z): Duplicate of #572
JSON 传值应当使用 String 来传. 然后你解析的 Model 可以用 DecimalNumber. 这样才不会出现精度丢失
Repository: CoderMJLee/MJExtension

Issue #385: 什么时候可以支持泛型？
Created: 2016-04-25T03:20:04Z
NSArray<__covariant ObjectType>
用mj_objectClassInArray实在太麻烦，JsonModel支持泛型

Duplicate issue #768: T泛型的支持
Created: 2020-04-26T13:54:56Z
@interface BaseResponseVo : NSObject
@Property (nonatomic , retain)T data;
@EnD
很想知道用MJExtension同学们，这类对象有什么好的解决方案

Closing comment (2020-04-27T02:51:50Z): Duplicate of #385
泛型在运行时获取类型时拿到的是@"@", 紧接着使用 NSClassFromString 获取不到 Class, 所以就没法解析了.
JSONModel 会使用黑科技 Protocol 来去动态解析, 但是你在定义类时就必须指定协议, 所以对于你说的自定义泛型类, 是完全不支持的.
Repository: CoderMJLee/MJExtension

Issue #572: 请问为何我model定义的是nsnumber,接受下来之后精度缺损失了，用decimal也不行。
Created: 2017-11-07T09:19:09Z
9.7 就变成了9.68888888
这个问题有处理吗、 按理说用decimal接受是没有问题的啊。

Duplicate issue #677: Json转Model   精度丢失问题
Created: 2019-04-12T07:48:25Z
Json数据中某个Value是Double类型
Model中定义Double、NSDecimalNumber、NSNumber类型接收，都会出现精度丢失问题
示例

尝试修改
NSObject+MJKeyValue.m

Closing comment (2019-05-30T08:51:25Z): 兄弟, 你这个问题, 是 JSON 中表示小数的问题. 如果需要精确的数字, 让服务端给你返回字符串的小数, 然后按照 NSDecimalNumber 进行解析, 才能解析出正确的值
Duplicate of #572
Repository: CommunityToolkit/Maui

Issue #371: [Bug] Popup being dismissed when window is resized or loses focus
Created: 2022-04-19T14:29:02Z
Description
Despite the following:
CanBeDismissedByTappingOutsideOfPopup="False"
The popup is still being dismissed when the window is resized or it loses focus.
Steps to Reproduce

Create a popup, set CanBeDismissedByTappingOutsideOfPopup to false
Run app on Windows machine
Open popup
Resize window or click on another window to change focus

Expected Behavior
Expect the popup to not be dismissed
Actual Behavior
Popup is dismissed
Basic Information


Version with issue: 8.0.0-preview3


IDE: VS2022 Preview


Platform Target Frameworks:

UWP:  10.0.19041

Duplicate issue #888: [BUG] Resizing window (windows desktop) closes an open popup
Created: 2023-01-11T01:04:35Z
Is there an existing issue for this?

 I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

 I have read the "Reporting a bug" section on Contributing file.

Current Behavior
Resizing a window when a popup is active closes the popup, works ok when window is minimized. Error is when resizing by dragging the corner.

Expected Behavior
Popup stays active when window is resized or minimized
Steps To Reproduce

Run the application from the repo, size the window so it fits easily on the desktop
Click the button, a popup is displayed
Grab the bottom left corner to resize the windows, the popup closes

Link to public reproduction project repository
https://github.com/peterjgould/PopupResize.git
Environment
- .NET MAUI CommunityToolkit: 3.1.0
- OS: Windows 10 build 19045.2364
- .NET MAUI:7.0.52/7.0.100
Anything else?
No response

Closing comment (2023-01-11T15:00:56Z): Duplicate of #371
Repository: CommunityToolkit/Maui

Issue #462: [Bug] Last popup rendered appears at right-click mouse location 
Created: 2022-06-15T22:36:38Z
Description
Saw this with my own project, then downloaded and reproduced it on the MCT popup sample app. Choose "Views" from the flyout, and go to the "Multiple Popups" page. Click on any popup, for example, "Toggle Size Popup". The popup appears as intended. Dismiss it by clicking outside its bounds. Right click on any area in the page after dismissal, and you'll see the same popup reappear, seemingly tied to the mouse click position.
Stack Trace

Link to Reproduction Sample

Steps to Reproduce

Launch sample app. Go to Views->Multiple Popups Page sample.
Click "Toggle Size" button to launch appropriate popup.
Click outside popup to dismiss it.
Right click anywhere on MultiplePopups page.

Expected Behavior
No popup will appear.
Actual Behavior
Last launched popup appears.
Basic Information

Version with issue:
Last known good version:
IDE:
Platform Target Frameworks: 

iOS:  
Android: 
X- UWP:  


Android Support Library Version: 
Nuget Packages:
Affected Devices:
Tested on Windows MAUI GA.

Workaround

Reproduction imagery

Duplicate issue #568: [Bug] Popout displays again on right click UWP
Created: 2022-08-25T15:15:00Z
Description
After a popup is initially shown, interacted with, and closed, the popup will reappear when the user right clicks anywhere on the previous page.
Code
Here is applicable code for displaying and closing a popup:
    {
        private static Page _page;
        private Stack<Popup> _popupStack;
        public static PopupNavigation Instance { get; private set; }

        public  PopupNavigation(Page mainPage)
        {
            _popupStack = new Stack<Popup>();
            _page = mainPage;
            Instance = this;
        }

        public async Task<bool> PushAsync(Popup popup)
        {
            _popupStack.Push(popup);
            popup.CanBeDismissedByTappingOutsideOfPopup = false;
            var result = await _page.ShowPopupAsync(popup);
            if (result is bool boolResult)
                return boolResult;
            else
                return false;
        }

        public void Pop()
        {
            Popup popup = _popupStack.Pop();
            popup.Close();
        }

        internal static void Initialize(ContentPage mainPage)
        {
            _page = mainPage;
        }
    }

Steps to Reproduce

Open the popup
Close the popup
Right click anywhere on the page after the popup closes

Expected Behavior
I expect the popup to remained closed and only display again when await _page.ShowPopupAsync(popup); code is ran again.
Actual Behavior
The popup displays again after popup.Close(); was performed and the user right clicks.

Closing comment (2022-08-26T16:35:02Z): duplicate of #462
Repository: CommunityToolkit/Maui

Issue #2389: [BUG] Android Camera Zoom is not working
Created: 2024-12-18T07:25:19Z
Is there an existing issue for this?

 I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

 I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior
In sample app when trying to zoom in or out it fails to zoom when clicking on buttons or adjusting slider.
Expected Behavior
Slider should adjust zoom. Buttons for zoom in and out should zoom in and out.
Steps To Reproduce

Open sample app
Navigate to Camera View
Adjust slider for zoom /or Click zoom in.

Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
- .NET MAUI CommunityToolkit: Current Main as of 2024-12-17
- OS:Android-34
- .NET MAUI:9.0.21
Anything else?
Is this a compiled binding issue?

Duplicate issue #2514: [BUG] CameraView Zoom does not work in Release mode on Android
Created: 2025-02-11T22:39:05Z
Is there an existing issue for this?


Yes #2109, but the issue has been closed as fixed but our team can still see the same problem.


 I have searched the existing issues


Did you read the "Reporting a bug" section on Contributing file?

 I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior
Even after the fix for previous issue - #2109, when building the app in release mode, the CameraView zoom does not work for Android. I am using the CommunityToolkit.Maui.Camera Version 2.0.1.
Expected Behavior
CameraView Zoom should work in both release and debug mode.
Steps To Reproduce

Create a simple MAUI app that uses CameraView or download the sample app project available at the link below.
Build the app in release mode for Android.
Notice that the zoom does not work.

Link to public reproduction project repository
https://github.com/ruc12127/CameraTest
Environment
- .NET MAUI CommunityToolkit: 11.0.0
- OS: Android
- .NET MAUI CommunityToolkit.Maui.Camera: 2.0.1
Anything else?
This issue was addressed as part of #2109 but I am still seeing the same problem on Android when built in Release mode.

Closing comment (2025-02-12T04:04:26Z): Duplicate of #2389
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #380: Getting error on any command with copilot chat
Created: 2024-07-29T14:18:25Z
Does anyone know how to fix this issue? I am using

Duplicate issue #411: curl: (23) Failed writing received data to disk/application
Created: 2024-09-16T09:29:42Z
Hi.
I've just activated the copilot-chat plugin in LazyVim. After toggling the copilot chat and entering any text, I'm always met with the same error message:
Failed to get response: {
  exit = 23,
  message = 'get https://api.github.com/copilot_internal/v2/token - curl error exit_code=23 stderr={ "curl: (23) Failed writing received data to disk/application" }',
  stderr = '{ "curl: (23) Failed writing received data to disk/application" }'
}

Running :Copilot auth gives a message saying "Authenticated as Github user...", so I'm fairly sure I've done the necessary setup for this to work. I also couldn't find any issues relating to this exact issue, although there were a few curl-related ones, none referred to exit code 23.

Closing comment (2024-09-16T16:53:46Z): Duplicate of #380
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #1090: Jump to nearest diff fails (following the demo)
Created: 2025-04-03T05:07:44Z
Hi!
First of all I'd like to say that the demo at the very top of the README.md impressed me a lot!
However, I am having a hard time following it, and end up failing at gj (Jump to nearest diff) after hitting Enter on a quickfix list entry. I am using lazyvim and I see this with neovim 0.10.4 and 0.11.0.
It also appears things have changed a bit since this video was recorded.
My intial prompt is
> #files

Optimize this project.

It all pretty much goes as expected until I hit gj which appears to do nothing. It does not open a buffer with the file affected by the diff.
Below is what it looks like.

Duplicate issue #1098: Creates new buffer on C-y or gj
Created: 2025-04-06T14:56:01Z
Not everytime but most times , i select a bit of code , go into copilotchat ,  ask it to add some comments or something , does that right and then when I press C-y , it creates a new buffer with the name

#file:somefile.go
OR
somefile.go-context

And it pastest the diff copilot chat suggested in a completely empty buffer.
Other times works perfectly as it should , im using autochdir i wonder if it has to do with that?

Closing comment (2025-04-06T14:58:44Z): Duplicate of #1090
its mostly issue with LLM generating wrong header, there are some improvements planned so the header format is simpler so LLM gets confused a bit less
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #397: Building lua-tiktoken on Windows
Created: 2024-08-21T15:53:01Z
This script may be useful, and also implementable on CopilotChat.nvim:
yetone/avante.nvim@83d0676

Duplicate issue #687: Error: Unsupported operating system
Created: 2024-12-11T22:41:34Z
I am getting the following error when trying to update with lazy.nvim (using Windows)

Closing comment (2024-12-11T22:53:21Z): Remove make tiktoken from your config, otherwise duplicate of #397
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #397: Building lua-tiktoken on Windows
Created: 2024-08-21T15:53:01Z
This script may be useful, and also implementable on CopilotChat.nvim:
yetone/avante.nvim@83d0676

Duplicate issue #741: Unsupported operating system
Created: 2025-02-04T09:15:59Z
I am no longer able to install updates due to operating system errors:

Makefile:11: *** Unsupported operating system: MSYS_NT-10.0-22631.  Stop.

I have the msys2 compiler collection installed under MS Windows.
In this cases the uname command in the makefile gives MSYS_NT as operating system.
I believe compilers and such are set up correctly.
I'm not that familiar with development of Neovim plugins.
Anyone any ideas on how to proceed?

Closing comment (2025-02-04T09:39:06Z): Duplicate of #397. For now just remove:
    build = "make tiktoken", -- Only on MacOS or Linux

from your config
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #771: Error while authenticating to provider copilot
Created: 2025-02-16T22:49:17Z
Hi, I'm getting this error message when opening a chat window, after the last update tonight.
Error executing luv callback:
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...are/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/utils.lua:123: E5560: Vimscript function must not be called
 in a lua loop callback
stack traceback:
        [C]: in function 'error'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'on_exit'
        ...lar/neovim/0.10.4/share/nvim/runtime/lua/vim/_system.lua:301: in function <...lar/neovim/0.10.4/share/nvim/runtime/lua/vim/_system.lua:271>

Duplicate issue #772: Regression introduced in 14e9907a883d0a757c509f7dc64860a1b08d9942
Created: 2025-02-16T22:59:35Z
Error executing luv callback:
...re/nvim/plugged/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: .../nvim/plugged/CopilotChat.nvim/lua/CopilotChat/utils.lua:123: E5560: Vimscript function must not be called in a lua
 loop callback
stack traceback:
        [C]: in function 'error'
        ...re/nvim/plugged/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...re/nvim/plugged/plenary.nvim/lua/plenary/async/async.lua:45: in function 'on_exit'
        ...lar/neovim/0.10.4/share/nvim/runtime/lua/vim/_system.lua:301: in function <...lar/neovim/0.10.4/share/nvim/runtime/lua/vim/_system.lua:271>

Looks like the commit 14e9907a883d0a757c509f7dc64860a1b08d9942 introduced the above regression, the error goes away when I checkout to the commit right before it. I also just upgraded to the latest neovim from homebrew and can reproduce the issue. Neovim version is below:
nvim --version
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1736781742
Run "nvim -V1 -v" for more info

Closing comment (2025-02-16T23:07:58Z): Duplicate of #771 and already fixed
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #1090: Jump to nearest diff fails (following the demo)
Created: 2025-04-03T05:07:44Z
Hi!
First of all I'd like to say that the demo at the very top of the README.md impressed me a lot!
However, I am having a hard time following it, and end up failing at gj (Jump to nearest diff) after hitting Enter on a quickfix list entry. I am using lazyvim and I see this with neovim 0.10.4 and 0.11.0.
It also appears things have changed a bit since this video was recorded.
My intial prompt is
> #files

Optimize this project.

It all pretty much goes as expected until I hit gj which appears to do nothing. It does not open a buffer with the file affected by the diff.
Below is what it looks like.

Duplicate issue #1118: Diff for changes are not properly detected from model response
Created: 2025-04-19T14:41:21Z
When I get changes from the model response, and I use gd to show the diff, it's using the exact code block given by the model. This is problematic b/c sometimes the model will just give you a section of your code. For example, let's say I start with this file:
def foo():
    print("Hello from foo")


def bar():
    print("Hello from bar")

foo()
bar()
I then ask:
## User ───

Change `bar()` to print "Hi from bar"

## Copilot ───

``python
5: def bar():
6:     print("Hi from bar")
7: 
8: foo()
9: bar()
``

## User ───

When I press gd, I get this:
@@ -1,9 +1,5 @@
-def foo():
-    print("Hello from foo")
-
-
-def bar():
-    print("Hello from bar")
-
-foo()
-bar()
\ No newline at end of file
+5: def bar():
+6:     print("Hi from bar")
+7: 
+8: foo()
+9: bar()
\ No newline at end of file
It should just give me a diff of the changes the model suggested. Copilot-chat should be asking the model for the proper diff-formatted change.

Closing comment (2025-04-19T14:50:38Z): Are you overwriting system prompt in any way? Otherwise duplicate of #1090 . The plugin is sending instructions to LLM how to generate the headers for proper diffs but when it fails to follow them or you completely remove them by changing system prompt, this can happen. There are some improvements planned so the instructions are abit more straightforward but thats about everything the plugin can do really.
Repository: CopilotC-Nvim/CopilotChat.nvim

Issue #1090: Jump to nearest diff fails (following the demo)
Created: 2025-04-03T05:07:44Z
Hi!
First of all I'd like to say that the demo at the very top of the README.md impressed me a lot!
However, I am having a hard time following it, and end up failing at gj (Jump to nearest diff) after hitting Enter on a quickfix list entry. I am using lazyvim and I see this with neovim 0.10.4 and 0.11.0.
It also appears things have changed a bit since this video was recorded.
My intial prompt is
> #files

Optimize this project.

It all pretty much goes as expected until I hit gj which appears to do nothing. It does not open a buffer with the file affected by the diff.
Below is what it looks like.

Duplicate issue #1107: Accepting a difference (C-y) erases everything but the difference
Created: 2025-04-09T12:01:03Z
CONTEXT
Original behavior
I can't precise exactly when this started but it was (days / less than 2 weeks ago). The original behavior was that whenever I accepted a diff; it  was applied to the buffer, and nothing else was changed.
New behavior
Now the buffer is untouched, a new buffer is created with ONLY the difference , and the rest of the file is discarded.
Note:
If you teach me how to set a particular version / commit to the plugin I can try to do some sort of "bisect" to find when exactly this problem started to happen.
BUG
The problem I see is that whenever I apply a change (C-y) a new context buffer appears and it doesn't change the buffer, but creates a new one, for example:
Step 1 - Create a file and a very simple prompt:

Step 2 - Accept the suggestion
When I press C-y to accept the change, the buffer disappears and the change isn't applied to the buffer but to a new buffer with a different file name like this:

Configuration
MY Copilot Configuration
cat $HOME/.config/nvim/lua/plugins/copilot.lua 
--
-- Copilot Chat Configuration
--
return {
  {
    "CopilotC-Nvim/CopilotChat.nvim",
    version = '*',
    lazy = false,
    dependencies = {
      { "github/copilot.vim" },
      { "nvim-lua/plenary.nvim", branch = "master" },
    },
    build = "make tiktoken", -- Only on MacOS or Linux
    opts = {
      model = 'gpt-4o',
      chat_autocomplete = true,
      suggestion = { accept = "<Tab>" }, -- Accept Copilot suggestions with Tab
    },
    -- See Commands section for default commands if you want to lazy load on them
    keys = {
      { "<leader>cc", ":CopilotChat", mode = { "n", "v" }, desc = "Open Copilot Chat" },
    }
  },
}
Other plugins I have installed
% ls $HOME/.config/nvim/lua/plugins 
blink_cmp.lua              git_signs.lua              neotree.lua                tiny_inline_diagnostic.lua ufo.lua
bufferline.lua             light_bulb.lua             telescope.lua              toggleterm.lua
copilot.lua                lualine.lua                telescope_themes.lua       treesitter.lua
git.lua                    markdown.lua               themes.lua                 treesj.lua

Closing comment (2025-04-09T12:04:05Z): Duplicate of #1090 , as you can see your file header is generated incorrectly in that response, most likely just LLM being confused
Repository: DMOJ/online-judge

Issue #2035: Dark mode online judge
Created: 2022-11-13T11:20:20Z
This is for the many users who requested dark mode. This issue is possibly a subset of #578.
A few general guidelines:

I will try to keep this description up to date. For any bugs that I missed, feel free to post them in this issue.
Feel free to make a PR for any of these bugs. A few tips to make review easier:

If you're working with SCSS, you'll find these files useful: /resources/vars-*.scss
You can put Part of #2035 in your PR description. Don't put Closes #2035/Fixes #2035.
Post a screenshot of before change + after change.
For small changes, average review time is ~2 days. For big changes, review will take longer.



Important styling bugs:

 https://dmoj.ca/problem/2dperm Blockquote sidebar is too dark. (Thanks, @Xyene)
 https://dmoj.ca/edit/profile/ The user script editor's header and sidebars are light.

Less important styling bugs:

 https://dmoj.ca/stats/language/?dark Pie chart's labels are black.
 When hovering over the X on alerts (e.g., https://dmoj.ca/problem/cco21p6/tickets/new), the X blends in to the background. It's also pretty light to begin with. (Thanks, @Xyene)
 Images need background-color: white; because the image may have transparency.
 https://dmoj.ca/edit/profile/ Set site theme to dark and disable experimental features. The editor uses dark mode. (Thanks, @Riolku)
 Soften whites and blacks (see @Xyene's comment)

When you're bored:

Go to /edit/profile/, enable experimental features, and set site theme to dark. Visit any page, and try to find styling bugs.
Find page-specific <style> with git grep -n "<style". At a minimum, migrate the color-specific properties into scss file(s).
Import more ace.js themes from upstream (see @Xyene's comment).

Duplicate issue #2318: Dark Theme
Created: 2024-02-04T16:15:03Z
Hello! in nutshell please add dark theme mode.

Closing comment (2024-02-04T16:19:28Z): Duplicate of #2035.
Repository: DMOJ/online-judge

Issue #226: Make site more presentable on fresh install
Created: 2015-09-10T21:45:46Z
A lot of tables should have a conditional on |length, displaying a more admin-friendly "There is no {insert relevant data name here} data yet. [Add some.]". We can also ship a fixture with a "Hello, World!" problem, a post on the main page and a comment on it.

Duplicate issue #59: Standard Licenses
Created: 2015-03-26T03:46:38Z
We should be prepared to add a list of common licenses for #44 and #58.
Some I can think of are:

GNU Free Documentation License
Creative Commons by(?:-nc)?(?:-sa)? licenses.

Closing comment (2017-02-22T09:14:53Z): We haven't really used licenses since they were implemented. This ticket doesn't imply a site change, and any fixture for licenses is better tracked in #226.
Repository: DMOJ/online-judge

Issue #382: Opt-in to mailing list on registration
Created: 2016-01-16T05:09:48Z

Duplicate issue #401: Optional subscription to newsletter on registeration page
Created: 2016-04-09T21:36:37Z
Users may not know about the subscription. An opt-in subscription on the registration page would help.

Closing comment (2016-04-10T00:28:18Z): Real duplicate of #382 though.
Repository: DMOJ/online-judge

Issue #238: Online compiler
Created: 2015-09-16T00:31:25Z
Multiple users have also requested an in-site IDE, citing reasons like "opening in ideone is too hard", "ideone is too slow", and "ideone looks ugly". We can also open up this compiler to the public.
This requires the completion of AMQP and C.I.

Duplicate issue #1973: Add a Run button 
Created: 2022-07-20T11:43:51Z
Add a Run button it will allow user to run and check his code before the actual submission ****

Closing comment (2022-07-20T17:36:51Z): Duplicate of #238.
Repository: DMOJ/online-judge

Issue #378: Contest clarification system
Created: 2016-01-13T22:34:47Z
During contests, contest problem comments should be disabled for normal users (possibly a new BooleanField in ContestModel) and replaced with a clarification request form. Using #327, admins would be notified and have the possibility to comment a clarification (or not).

Duplicate issue #499: Clarification System
Created: 2016-11-10T16:38:58Z
In order to prevent other people from accidentally giving hints about contest problems when making a clarification request, there should be a dedicated clarification request system that allows participants to privately talk to the contest organizers.

Closing comment (2016-11-11T13:08:46Z): Duplicate of #378.
Repository: DMOJ/online-judge

Issue #301: Hide other user submissions during contest
Created: 2015-10-17T03:16:41Z
Current solution is an insecure hack.

Duplicate issue #249: Disable ability to view others' submissions in contest, even if you have solved the problem
Created: 2015-09-17T21:09:23Z
Why is this even a thing?

Closing comment (2015-12-14T18:29:56Z): Isn't this a duplicate of #301?
Repository: DMOJ/online-judge

Issue #348: Confirmation on Clone Problem
Created: 2015-12-15T02:49:38Z
Question is whether we do it on client side or server side. Although regardless, it would be wise to put to use a POST request to clone.

Duplicate issue #381: Confirmation on problem clone
Created: 2016-01-16T05:03:50Z

Closing comment (2016-01-16T05:04:23Z): Duplicate of #348.
Repository: DMOJ/online-judge

Issue #1684: Update`user.rating` before rerating contests
Created: 2021-05-10T05:22:51Z
When a rated contest with rating ceiling is re-rated, we exclude all users such that user__rating__gt=contest.rating_ceiling.
However, we do not update this after deleting the old Rating objects.
Thus if a user, after the initial rating computation, exceeds the contest rating ceiling, they will not be re-rated.
This can be fixed by recomputing the ratings of all users who have their ratings cleared by 
  
    
      online-judge/judge/models/contest.py
    
    
         Line 386
      in
      a362021
    
  
  
    

        
          
           Rating.objects.filter(contest__end_time__range=(self.end_time, self._now)).delete() 
        
    
  

 before calling rate_contest.

Duplicate issue #1696: User rating not updated if contest floor/ceil rating is changed.
Created: 2021-05-24T03:47:28Z
Suppose we have user A who has rating of 1500 attending a contest. We initially rate the contest with no ceiling or floor. A then gets a new rating of 1700. After that, we want to rerate the contest with floor = 1600.
Expected: A will be not rated in this contest because his last rating = 1500 < 1600. His rating after this should be 1500.
Reality: A will be not rated but his rating will still be 1700.
The problem may lie in these lines. We only update ratings for users who satisfy the conditions. Other users should be rerolled to their last_rating.

  
    
      online-judge/judge/ratings.py
    
    
        Lines 137 to 142
      in
      7d9914b
    
  
  
    

        
          
           if contest.rating_floor is not None: 
        

        
          
               users = users.exclude(last_rating__lt=contest.rating_floor) 
        

        
          
           if contest.rating_ceiling is not None: 
        

        
          
               users = users.exclude(last_rating__gt=contest.rating_ceiling) 
        

        
          
            
        

        
          
           users = list(users)

Closing comment (2021-05-24T03:53:00Z): Can you confirm that you are on the latest commit? This sounds very similar to  #1684.
I do not believe that code snippet tells the whole story: iirc contests should be rated by calling its rate function:

  
    
      online-judge/judge/models/contest.py
    
    
        Lines 385 to 390
      in
      7d9914b
    
  
  
    

        
          
           def rate(self): 
        

        
          
               Rating.objects.filter(contest__end_time__range=(self.end_time, self._now)).delete() 
        

        
          
               for contest in Contest.objects.filter( 
        

        
          
                   is_rated=True, end_time__range=(self.end_time, self._now), 
        

        
          
               ).order_by('end_time'): 
        

        
          
                   rate_contest(contest) 
        
    
  


which clears the previous ratings.
Repository: DMOJ/online-judge

Issue #1306: When editing a comment twice, the styling buttons are gone the second time
Created: 2020-04-06T00:52:00Z
Reproduction steps:

Find or make a comment that you can edit.
Click the button to edit the comment - the row of styling buttons are visible.
Click out of the edit window, and click the button to edit the comment again.

Expected behaviour: The row of styling buttons are visible.
Actual behaviour: Only the textbox is visible. This is true if you click any other comment that you can edit on the same page as well.

Duplicate issue #1796: Bad UI when opening the comment editor twice
Created: 2021-10-07T01:43:31Z
Editing a comment for the first time:

Editing a comment for the second time:

However, there is no editor UI in the second image. The console also displays this error:
Pagedown editor already attached to element: <#id-edit-comment-body>

Closing comment (2021-10-07T16:13:15Z): Duplicate of #1306.
Repository: DamnWidget/anaconda

Issue #820: Cannot connect to localhost
Created: 2019-06-10T23:32:22Z
I've used anaconda for months no problem, today I restarted sublime, and it just stopped working with the below error message.
ST3, Anaconda and OS versions
ST3 3.2.1 on macOS 10.14.5
ST3 Console Logs
can not connect to localhost in port 50857. tried to connect 21 times during 2.0 seconds

check that there is Python process executing the anaconda jsonserver.py script running in your system. If there is, check that you can connect to your localhost writing the following script in your Sublime Text 3 console:

import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(("localhost", 50857))

If anaconda works just fine after you received this error and the command above worked you can make anaconda to do not show you this error anymore setting the 'swallow_startup_errors' to 'true' in your configuration file.
 ...last message repeated one more time in the last 10s
anacondaST3: ERROR - <Anaconda.anaconda_lib.workers.local_worker.LocalWorker object at 0x106445250> initial check failed because:

Anaconda's JsonServer Logs
2019-06-10 19:25:30,427: ERROR   : Traceback (most recent call last):
  File "/Users/carson/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_server/jsonserver.py", line 338, in <module>
    server = JSONServer(('localhost', port))
  File "/Users/carson/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_server/jsonserver.py", line 157, in __init__
    if address_family == socket.AF_UNIX:
NameError: name 'address_family' is not defined

2019-06-10 19:25:30,427: ERROR   : name 'address_family' is not defined
2019-06-10 19:25:37,367: ERROR   : Traceback (most recent call last):
  File "/Users/carson/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_server/jsonserver.py", line 338, in <module>
    server = JSONServer(('localhost', port))
  File "/Users/carson/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_server/jsonserver.py", line 157, in __init__
    if address_family == socket.AF_UNIX:
NameError: name 'address_family' is not defined

2019-06-10 19:25:37,367: ERROR   : name 'address_family' is not defined

Duplicate issue #527: <Anaconda.anaconda_lib.workers.local_worker.LocalWorker object > initial check failed 
Created: 2016-09-02T11:29:35Z
this message appears at each Sublime startup, how to fix it?

Closing comment (2019-06-11T14:52:58Z): Working on it. Related to #820
Repository: DamnWidget/anaconda

Issue #488: import validator "can't import" when it should have succeeded
Created: 2016-06-07T16:35:22Z
The import validator gives an error for the following line:
from lists.views import home_page


The import validator fails to recognize the function/class/variable that I declare time to time. Sometimes it works and successfully in validation, but most of the time it fails and gives an error saying "can't import home_page".

Duplicate issue #432: ImportValidator doesn't like relative imports
Created: 2016-02-11T01:47:06Z
If I have an import such as:
from .scope import Scope
I get an error:
[E] ImportValidator (801): can't import .scope Scope

I suspect, but don't know how to confirm, that this may be related to how one invokes the python interpreter; for example:
wsanchez$ python deps/component.py
Traceback (most recent call last):
  File "deps/component.py", line 10, in <module>
    from .scope import Scope
ValueError: Attempted relative import in non-package
wsanchez$ python -m deps.component
wsanchez$

Closing comment (2016-11-23T09:58:39Z): This is probably related to #488 (possibly a duplicate)
Repository: DamnWidget/anaconda

Issue #514: warning popup after start of ST3
Created: 2016-08-26T21:30:47Z
anacondaST3: ERROR - <Anaconda.anaconda_lib.workers.local_worker.LocalWorker object at 0x0000022AE8CEA630> initial check failed because:

connection to localhost:1552 timed out after 0.05s

check that there is Python process executing the anaconda jsonserver.py script running in your system. If there is, check that you can connect to your localhost writing the following script in your Sublime Text 3 console:

import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(("localhost", 1552))

After 2.0.x update, this warning always popups for the first or second time I start ST3 after I start my computer. I have no idea how to deal with it...
OS: Win 10.0.14393
ST3 3114

Duplicate issue #526: exception constantly happening after upgrade: initial check failed
Created: 2016-09-01T10:43:19Z
<Anaconda.anaconda_lib.workers.local_worker.LocalWorker object at 0x7f0986c3f350> initial check failed because:

can not connect to /home/jgu/.local/share/anaconda/run/dat/anaconda.sock

check that there is Python process executing the anaconda jsonserver.py script running in your system. If there is, check that the Unix Domain Socket file /home/jgu/.local/share/anaconda/run/dat_web/anaconda.sock exists and that you can connect to it writing the following script in your Sublime Text 3 console:

import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(/home/jgu/.local/share/anaconda/run/dat_web/anaconda.sock)


I am getting this error
there is error in the code snippet, it should be:

import socket; socket.socket(socket.AF_UNIX, socket.SOCK_STREAM).connect('/home/jgu/.local/share/anaconda/run/dat_web/anaconda.sock')

and for me there is no exception or anything

Closing comment (2016-09-01T13:22:06Z): Duplicate of #514
Repository: DamnWidget/anaconda

Issue #85: Reload jsonserver after project/project settings change
Created: 2013-10-07T21:31:50Z
Don't know if it is possible in ST plugins, but if there is some way to detect project change (using ctrl+alt+p) or project settings change, could anaconda reload jsonserver after these events?

Duplicate issue #92: anaconda_server not dying when switching projects (ALT+CTRL+P)
Created: 2013-10-20T19:48:16Z
In project budist_ats, I press alt+ctrl+p, I choose the project i3, I in the project i3, I press alt+ctrl+p and I choose the project i3, I in the project budist_ats
ps ax | grep anaconda
three processes of anaconda,two for project budist_ats:
https://devtrue.net/s/131021023929.png

Closing comment (2013-10-20T19:51:19Z): I know.
Just because this the comment for this commit bea9c37 is "new JsonServer is loaded on project switch detection, this is a workaround for issue #85, more work is needed"
related to #85
Repository: DamnWidget/anaconda

Issue #23: connection error
Created: 2013-08-16T20:09:03Z
I've got multiple files and multiple windows open.  Some of the files are linting correctly, but one is not (and it's not the last one that I opened).  From my log:
Registering handler with address ('localhost', 53253)
Unhandled exception in poll, restarting the poll request
[Errno 35] Resource temporarily unavailable


ERROR:root:[Errno 61] Connection refused
ERROR:root:Traceback (most recent call last):
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/worker.py", line 88, in start
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_client/jsonclient.py", line 34, in __init__
EventHandler.__init__(self, ('localhost', port))
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/asynconda/ioloop.py", line 104, in __init__
ConnectionRefusedError: [Errno 61] Connection refused

Duplicate issue #210: issue #23 is back
Created: 2014-08-28T15:00:46Z
SublimeText3(3064)
mac osx 10.9.4
ERROR:root:Traceback (most recent call last):
  File "/Users/montiniz/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/worker.py", line 191, in start
    self.client = AsynClient(self.available_port)
  File "/Users/montiniz/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/jsonclient.py", line 36, in __init__
    EventHandler.__init__(self, (host, port))
  File "/Users/montiniz/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/ioloop.py", line 105, in __init__
    self.sock.connect(address)
ConnectionRefusedError: [Errno 61] Connection refused

contexts.py
@contextmanager
def json_decode(data):
    PY26 = False
    data = data.replace(b'\t', b'\\t')
    if sys.version_info < (2, 6, 5):
        PY26 = True
        fixed_keys = {}
    try:
        if PY26:
            for k, v in json.loads(data.decode('utf8')).iteritems():
                fixed_keys[str(k)] = v
            yield fixed_keys
        else:
            yield json.loads(data.decode('utf8'))
    except ValueError:
        try:
            yield eval(data)
        except Exception:
            yield str(data.decode('utf8'))
let me know what more info you need

Closing comment (2014-08-28T15:20:03Z): @montiniz
It's probably that this is totally unrelated to #23 and #21, look at /Users/montiniz/Library/Application Support/Caches/Jedi/<project_name>/anaconda_jsonserver.log for any Python exception in the JsonServer, if the problem persist, start your JsonServer in debug mode as explained here
Btw, what were you doing when this was raised?
Which python interpreter do you have configured?
Repository: DamnWidget/anaconda

Issue #493: Garbage in the footer
Created: 2016-06-26T04:39:27Z
While working on a file, the ST3 footer will as expected contain something like this:

or like this:

Frequently and for no apparent reason, however, anaconda starts displaying garbage in the footer like this:

or garbage trailing an expected lint error like this:

The garbage sticks around for awhile until, again for no apparent reason, the footer goes back to normal.
Other things to note:
Closing and reopening the file being edited temporarily resolves the issue.
The issue does not immediately affect other panes: If the footer for one pane starts behaving badly then switching focus to another pane may reveal the expected footer (i.e., no garbage in the footer) for the other pane.
ST3 Build 3114
Anaconda 1.4.26

Duplicate issue #495: show_signatures shows docstring
Created: 2016-06-26T13:29:43Z
The display signatures has the following info attached:
/*
    If you set the following option as true, anaconda will display the
    signatures of the methods you are using while typing
*/
"display_signatures": true,
But enabling it will also show the docstring in the bottom bar which overrides the signature it is supposed to show. Showing the docstring in a cramped space does not make any sense in my opinion as it does not have the space required to show a docstring.

It would be great of Anaconda didn't show the docstring in such a cramped space and only showed it in the tooltips.

Closing comment (2016-06-26T13:32:10Z): My bad, this is a duplicate of #493. I guess my frustration of the issue got the better hand of me.
Repository: DamnWidget/anaconda

Issue #21: Linting process make server unresponsive in some files
Created: 2013-08-16T17:34:53Z
I detected that in some files the lint process makes the server unresponsive and forces the client to reconnect up (starting a new server process in a new port) leaving the old server process stale in the system.

Duplicate issue #23: connection error
Created: 2013-08-16T20:09:03Z
I've got multiple files and multiple windows open.  Some of the files are linting correctly, but one is not (and it's not the last one that I opened).  From my log:
Registering handler with address ('localhost', 53253)
Unhandled exception in poll, restarting the poll request
[Errno 35] Resource temporarily unavailable


ERROR:root:[Errno 61] Connection refused
ERROR:root:Traceback (most recent call last):
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/worker.py", line 88, in start
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_client/jsonclient.py", line 34, in __init__
EventHandler.__init__(self, ('localhost', port))
  File "~/Library/Application Support/Sublime Text 3/Packages/Anaconda/asynconda/ioloop.py", line 104, in __init__
ConnectionRefusedError: [Errno 61] Connection refused

Closing comment (2013-08-16T20:11:36Z): This is a duplicate of #21